Vizard 8 » Command Index » Vizard objects » node3d » <node3d:avatar>.getMeshID
8.0

<node3d:avatar>.getMeshID

Returns mesh ID

<node3d:avatar>.getMeshID(  
name  
)  
name
Mesh name

Remarks

This command will return the ID of the mesh with the specified name. If the mesh does not exist, the command will return -1

Note: The mesh name is case sensitive

Return Value

Mesh ID

Example

headID = avatar.getMeshID('head.cmf')