C# Class FBX.Scene.Nodes.Mesh

The mesh class node hosts a collection of primitives
Inheritance: Node
Show file Open project: Patapom/GodComplex Class Usage Examples

Protected Properties

Property Type Description
m_BoundingBox BoundingBox
m_BoundingSphere BoundingSphere
m_Primitives List
m_WorldBBox BoundingBox
m_bCastShadow bool
m_bReceiveShadow bool
m_bWorldBBoxDirty bool

Public Methods

Method Description
AddPrimitive ( string _Name, MaterialParameters _Material, int _VerticesCount, int _FacesCount ) : Primitive
ClearPrimitives ( ) : void
RemovePrimitive ( Primitive _Primitive ) : void

Protected Methods

Method Description
DisposeSpecific ( ) : void
LoadSpecific ( System _Reader ) : void
PropagateDirtyState ( ) : void
SaveSpecific ( System _Writer ) : void

Private Methods

Method Description
Mesh ( Scene _Owner, Node _Parent, System _Reader ) : System
Mesh ( Scene _Owner, int _ID, string _Name, Node _Parent, Matrix4x4 _Local2Parent ) : System

Method Details

AddPrimitive() public method

public AddPrimitive ( string _Name, MaterialParameters _Material, int _VerticesCount, int _FacesCount ) : Primitive
_Name string
_Material FBX.Scene.Materials.MaterialParameters
_VerticesCount int
_FacesCount int
return Primitive

ClearPrimitives() public method

public ClearPrimitives ( ) : void
return void

DisposeSpecific() protected method

protected DisposeSpecific ( ) : void
return void

LoadSpecific() protected method

protected LoadSpecific ( System _Reader ) : void
_Reader System
return void

PropagateDirtyState() protected method

protected PropagateDirtyState ( ) : void
return void

RemovePrimitive() public method

public RemovePrimitive ( Primitive _Primitive ) : void
_Primitive Primitive
return void

SaveSpecific() protected method

protected SaveSpecific ( System _Writer ) : void
_Writer System
return void

Property Details

m_BoundingBox protected property

protected BoundingBox m_BoundingBox
return BoundingBox

m_BoundingSphere protected property

protected BoundingSphere m_BoundingSphere
return BoundingSphere

m_Primitives protected property

protected List m_Primitives
return List

m_WorldBBox protected property

protected BoundingBox m_WorldBBox
return BoundingBox

m_bCastShadow protected property

protected bool m_bCastShadow
return bool

m_bReceiveShadow protected property

protected bool m_bReceiveShadow
return bool

m_bWorldBBoxDirty protected property

protected bool m_bWorldBBoxDirty
return bool