h3d.prim.Primitive is the base class for all 3D primitives. You can't create an instance of it and need to use one of its subclasses.
Variables
Methods
decref():Void
Decrease reference count of the Primitive. If recount reaches zero, Primitive is automatically disposed when last referencing mesh is removed from scene.
getMaterialIndexes(material:Int):{start:Int, count:Int}
Returns the number and offset of indexes for the specified material
selectMaterial(material:Int):Void
Select the specified sub material before drawin. Used for internal usage.