Skip to content

@modoki/engine / index / isPrimitive

Function: isPrimitive() ​

isPrimitive(meshName): boolean

Check if a mesh name is a built-in primitive

Parameters ​

meshName ​

string

Returns ​

boolean

Built with Modoki.