CreateTool
object CreateTool (string type, string name, int masterFlag, int childFlag )
Return Value: The object created or 0 if unseccesful
Arguments:
type |
type of tool to create ("Skeleton", "Curve" etc.) |
name | name of the item to create |
masterFlag | 0 if Master Tool (e.g. Skeleton), 1 if Sub Tool (e.g. Bone) |
childFlag | 0 to create as sibling, 1 to create as child |
This function will create a new item. The type of the tool should always be the Master Class that the tool belongs to. For example, to create a Bone or a Skeleton you would pass "Skeleton", because Skeleton is the Master Class. To distinguish between a Skeleton and a Bone you set the masterFlag to either 0 (to create a Skeleton) or 1 (to create a Bone).
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |