Pattern API

GetPatternSize

	@fn GetPatternSize()
	@brief Get the number of patterns
	@return return the number of patterns on the pattern editor and avatar window

GetPatternIndex

	@fn GetPatternIndex(const string& patternName)
	@brief Get the pattern index which is using the pattern name
	@param patternName: the input pattern name to get the pattern index
	@return pattern index

GetPatternIndexW

	@fn GetPatternIndexW(const wstring& patternName)
	@brief Get the pattern index which is using the pattern name
	@param patternName: the pattern name to get the pattern index
	@return pattern index

GetPatternInformation

	@fn GetPatternInformation(int patternIndex)
	@brief Get the pattern information which is using for pattern index
	@param patternIndex: the pattern index to get the pattern information
	@return json string for pattern information

GetPatternInformationW

	@fn GetPatternInformationW(int patternIndex)
	@brief Get the pattern information which is using for pattern index
	@param patternIndex: the pattern index to get the pattern information
	@return json string for pattern information

GetPatternCount

	@fn GetPatternCount()
	@brief Get the number of patterns
	@return return the number of patterns on the pattern editor and avatar window

GetPatternInputInformation

	@fn GetPatternInputInformation(int patternIndex)
	@brief Get the pattern input information which is using for pattern index
	@param patternIndex: the pattern index to get the pattern input information
	@return json string for pattern input information

GetPatternInputInformationW

	@fn GetPatternInputInformationW(int patternIndex)
	@brief Get the pattern input information which is using for pattern index
	@param patternIndex: the pattern index to get the pattern input information
	@return json string for pattern input information

GetPatternPieceArea

	@fn GetPatternPieceArea()
	@brief Get the pattern piece area which is using for pattern index
	@return return pattern piece

GetLineLength

	@fn GetLineLength()
	@brief Get the pattern line length which is using for pattern index and line index
	@return return line length

GetParticleDistanceOfPattern

	@fn GetParticleDistanceOfPattern(int _patternIndex)
	@brief Get particle distance which is using pattern index
	@param patternIndex: the pattern index to get the pattern particle distance
	@return Output particle distance; If an error occurs, return MIN_PARTICLE_DISTANCE, 0.8f.

GetParticleDistanceOfPatternW

	@fn GetParticleDistanceOfPatternW(const wstring& _patternName)
	@brief Get particle distance which is using the pattern name
	@param patternName: the pattern name to get the pattern particle distance
	@return Output particle distance; If an error occurs, return MIN_PARTICLE_DISTANCE, 0.8f.

GetMeshCountByType

	@fn GetMeshCountByType(int _patternIndex)
	@brief Get mesh face, vertex count by mesh type which is using pattern index
	@param patternIndex: the pattern index to get the pattern mesh face, vertex count
	@return Output map string mesh face,vertex count, mesh type; If an error occurs, return infoMap

GetMeshCountByTypeW

	@fn GetMeshCountByTypeW(const wstring& _patternName)
	@brief Get mesh face, vertex count by mesh type which is using the pattern name
	@param patternName: the pattern name to get the pattern mesh face, vertex count
	@return Output map string mesh face,vertex count, mesh type; If an error occurs, return infoMap

GetShrinkagePercentage

	@fn GetShrinkagePercentage(int _patternIndex)
	@brief Get ShrinkagePercentage each width, height which is using pattern index
	@param patternIndex: the pattern index to get the pattern shrinkagePercentage each width, height
	@return Output map string shrinkagePercentage width, height; If an error occurs, return infoMap

GetShrinkagePercentageW

	@fn GetShrinkagePercentageW(const wstring& _patternName)
	@brief Get ShrinkagePercentage each width, height which is using the pattern name
	@param patternName: the pattern name to get the pattern shrinkagePercentage each width, height
	@return Output map string shrinkagePercentage width, height; If an error occurs, return infoMap

GetBoundingBoxOfPattern

	@fn GetBoundingBoxOfPattern()
	@brief Get patterns BoundingBox Size each width, height
	@param none
	@return Output vector map string patterns BoundingBox Size width, height, pattern index, pattern count; If an error occurs, return infoMap

GetBoundingBoxOfPatternW

	@fn GetBoundingBoxOfPatternW(const wstring& _patternName)
	@brief Get BoundingBox Size each width, height which is using the pattern name
	@param patternName: the pattern name to get the pattern BoundingBox Size each width, height
	@return Output map string BoundingBox Size width, height, pattern index; If an error occurs, return infoMap

SetParticleDistanceOfPattern

	@fn SetParticleDistanceOfPattern(int _patternIndex, float _length)
	@brief Set particle distance using pattern index, length
	@param	patternIndex: the pattern index to set the pattern particle distance,
	length: the length value to determine particle distance

SetParticleDistanceOfPatterns

	@fn SetParticleDistanceOfPatterns()
	@brief Set patterns particle distance using length
	@param length: the length value to determine particle distance

SetMeshType

	@fn SetMeshType(int _patternIndex, const string& _meshType)
	@brief Set mesh type to get mesh count information
	@param	patternIndex: the pattern index to set the pattern mesh type,
	meshType: the mesh type to set the pattern mesh type "Triangle", "Quad" Other types not allowed

SetMeshTypeW

	@fn SetMeshType(int _patternIndex, const wstring& _meshType)
	@brief Set mesh type to get mesh count information
	@param	patternIndex: the pattern index to set the pattern mesh type,
	meshType: the mesh type to set the pattern mesh type "Triangle", "Quad" Other types not allowed

SetWidthShrinkagePercentage

	@fn SetWidthShrinkagePercentage (int _patternIndex, float _width)
	@brief Set Width Shrinkage Percentage using pattern index, width
	@param	patternIndex: the pattern index to set the pattern width shrinkage percentage,
	width: the width value to determine width shrinkage percentage

SetHeightShrinkagePercentage

	@fn SetHeightShrinkagePercentage (int _patternIndex, float _height)
	@brief Set Height Shrinkage Percentage using pattern index, height
	@param	patternIndex: the pattern index to set the pattern height shrinkage percentage,
	height: the height value to determine width shrinkage percentage

GetArrangementList

	@fn GetArrangementList()
	@brief Get all ArrangementList
	@param	none
	@return Output vector map string Arrangement information of avatar arrangementlist (Arrangement Name,Type, Offset x,y,z, Orientation); If an error occurs, return vector infoMap

GetArrangementOfPattern

	@fn GetArrangementOfPattern()
	@brief Get Arrangement of patterns
	@param	none
	@return Output vector map string Arrangement information of patterns (Arrangement Name,Type, Offset x,y,z, Orientation); If an error occurs, return vector infoMap

GetArrangementOfPatternW

	@fn GetArrangementOfPatternW(const wstring& _patternName)
	@brief Get Arrangement of pattern which is using the pattern name
	@param patternName: the pattern name to get the pattern arrangement information
	@return Output map string Arrangement information of pattern (Arrangement Name,Type, Offset x,y,z, Orientation); If an error occurs, return infoMap

SetArrangementShapeStyle

	@fn SetArrangementShapeStyle(int _patternIndex, const string& _shapeStyle)
	@brief Set Arrangement ShapeStyle to set Arrangement ShapeStyle
	@param	patternIndex: the pattern index to set the pattern Arrangement shapeStyle,
	shapeStyle: the shapeStyle to set the pattern shapeStyle "Flat", "Curved" Other types not allowed

SetArrangementShapeStyleW

	@fn SetArrangementShapeStyleW(int _patternIndex, const wstring& _shapeStyle)
	@brief Set Arrangement ShapeStyle to set Arrangement ShapeStyle
	@param	patternIndex: the pattern index to set the pattern arrangement ShapeStyle,
	shapeStyle: the shapeStyle to set the pattern shapeStyle "Flat", "Curved" Other types not allowed

SetArrangementPosition

	@fn SetArrangementPosition(int _patternIndex, int _positionX, int _positionY, int _offset)
	@brief Set Arrangement Position using positionX, positionY, offset
	@param	patternIndex: the pattern index to set the pattern arrangement position,
	positionX, positionY, offset : the value to determine pattern arrangement positionX, positionY, offset

SetArrangementOrientation

	@fn SetArrangementOrientation(int _patternIndex, int _orientation)
	@brief Set Arrangement Orientation using pattern arrangement Orientation
	@param	patternIndex: the pattern index to set the pattern arrangement orientation,
	Orientation: the value to determine pattern arrangement orientation

SetArrangement

	@fn SetArrangement(int _patternIndex, int _arrangementIndex)
	@brief Set Arrangement using arrangementlist Index
	@param	patternIndex: the pattern index to set the arrangement
	ArrangementIndex: the value to determine arrangement information