Свойство | Тип | Описание | |
---|---|---|---|
m_BBox | BoundingBox | ||
m_CollapsedLayerElementMeshes | FBX.SceneLoader.Objects.LoaderTempMesh[] | ||
m_CollapsedLayerElements | FBXImporter.LayerElement[] | ||
m_Faces | FBXImporter.NodeMesh.Triangle[] | ||
m_LayerElementBiNormal | FBXImporter.LayerElement | ||
m_LayerElementNormal | FBXImporter.LayerElement | ||
m_LayerElementPosition | FBXImporter.LayerElement | ||
m_LayerElementTangent | FBXImporter.LayerElement | ||
m_LayerElements | List |
||
m_LayerElementsExternal | List |
||
m_LayerElementsReference | List |
||
m_MasterMesh | |||
m_OverrideMaterial | |||
m_Pivot | Matrix4x4 | ||
m_Primitives | List |
||
m_SlaveMesh2Registered | bool>.Dictionary | ||
m_SlaveMeshes | List |
||
m_UVSetsCount | int | ||
m_Vertices | System.Point[] |
Метод | Описание | |
---|---|---|
AddExternalLayerElement ( |
Adds a layer element from another (slave) mesh
|
|
AddLayerElement ( FBXImporter _LayerElement ) : void |
Adds a layer element to the mesh, hence adding a new entry to the vertex buffer
|
|
BuildPrimitives ( ) : void |
This builds the mesh primitives that we'll be able to use at runtime
|
|
CreateBox ( BoundingBox _BBox, |
Creates a box mesh
|
|
LoaderTempMesh ( SceneLoader _Owner, string _Name ) : System | ||
MergeWithMasterMesh ( |
Attempts to merge this mesh with the provided master mesh If the provided mesh can be used as a master for this mesh then the identical layer elements are "shared by reference" and the layer elements that differ are kept in this mesh and added as external elements to the master mesh. In the end, only the master meshes will be optimized, and this mesh's data along with them so all is left is to retrieve the optimized referenced data from the master mesh and make them our own.
|
|
PerformConsolidation ( ) : void |
Performs mesh consolidation and builds any missing tangent space information
|
|
RebuildFromMasterMesh ( ) : void |
Rebuilds the slave mesh from its consolidated master mesh
|
|
ReplaceLayerElementByAReference ( FBXImporter _LayerElementSource, |
Replaces a layer element from this mesh by a reference to another element from another mesh
|
|
SetFaces ( FBXImporter _Faces ) : void |
Sets the mesh's array of faces
|
|
SetVertices ( System.Point _Vertices ) : void |
Sets the mesh's array of vertices
|
Метод | Описание | |
---|---|---|
BuildConsolidatedVertex ( ConsolidatedFace _Face, int _FaceVertexIndex, int _VertexIndex ) : ConsolidatedVertex |
Builds a consolidated vertex
|
|
BuildTangentSpace ( List |
Generates the tangent space informations at face level (called by Commit())
|
public AddExternalLayerElement ( |
||
_OwnerMesh | The mesh owning the layer element to add | |
_LayerElement | FBXImporter | The external layer element |
Результат | void |
public AddLayerElement ( FBXImporter _LayerElement ) : void | ||
_LayerElement | FBXImporter | |
Результат | void |
protected BuildConsolidatedVertex ( ConsolidatedFace _Face, int _FaceVertexIndex, int _VertexIndex ) : ConsolidatedVertex | ||
_Face | ConsolidatedFace | The face referencing this vertex |
_FaceVertexIndex | int | The index of the vertex in that face |
_VertexIndex | int | The index of the vertex to build |
Результат | ConsolidatedVertex |
protected BuildTangentSpace ( List |
||
_Faces | List |
The list of faces to build tangent space for |
_TSAvailability | TANGENT_SPACE_AVAILABILITY | A combination of availability flags for tangent space reconstruction |
_bGenerateMissingTangentSpace | bool | Generates the missing tangent space data |
Результат | void |
public CreateBox ( BoundingBox _BBox, |
||
_BBox | BoundingBox | The mesh's box in local space |
_Material | The material to use for the box | |
Результат | void |
public LoaderTempMesh ( SceneLoader _Owner, string _Name ) : System | ||
_Owner | SceneLoader | |
_Name | string | |
Результат | System |
public MergeWithMasterMesh ( |
||
_Master | ||
Результат | bool |
public ReplaceLayerElementByAReference ( FBXImporter _LayerElementSource, |
||
_LayerElementSource | FBXImporter | The source layer element to replace |
_OwnerMesh | The mesh that owns the referenced layer element | |
_LayerElementReference | FBXImporter | The layer element to reference in place of our own layer element |
Результат | void |
public SetFaces ( FBXImporter _Faces ) : void | ||
_Faces | FBXImporter | |
Результат | void |
public SetVertices ( System.Point _Vertices ) : void | ||
_Vertices | System.Point | |
Результат | void |
protected LoaderTempMesh[],FBX.SceneLoader.Objects m_CollapsedLayerElementMeshes | ||
Результат | FBX.SceneLoader.Objects.LoaderTempMesh[] |
protected FBXImporter.LayerElement[] m_CollapsedLayerElements | ||
Результат | FBXImporter.LayerElement[] |
protected FBXImporter.NodeMesh.Triangle[] m_Faces | ||
Результат | FBXImporter.NodeMesh.Triangle[] |
protected FBXImporter.LayerElement m_LayerElementBiNormal | ||
Результат | FBXImporter.LayerElement |
protected FBXImporter.LayerElement m_LayerElementNormal | ||
Результат | FBXImporter.LayerElement |
protected FBXImporter.LayerElement m_LayerElementPosition | ||
Результат | FBXImporter.LayerElement |
protected FBXImporter.LayerElement m_LayerElementTangent | ||
Результат | FBXImporter.LayerElement |
protected LoaderTempMesh,FBX.SceneLoader.Objects m_MasterMesh | ||
Результат |
protected Material,FBX.SceneLoader.Objects m_OverrideMaterial | ||
Результат |
protected Dictionary |
||
Результат | bool>.Dictionary |