C# 클래스 FBX.SceneLoader.Objects.LoaderTempMesh.Primitive

상속: LoaderTempSceneObject
파일 보기 프로젝트 열기: Patapom/GodComplex 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_Faces List
m_FacesAsArray ConsolidatedFace[]
m_Material FBXImporter.Material
m_OverrideMaterial Material
m_OwnerMesh LoaderTempMesh
m_Streams VertexStream[]
m_Vertices List

공개 메소드들

메소드 설명
AddFace ( ConsolidatedFace _Face ) : void
BuildFromMaster ( Primitive _Master ) : void

Builds a slave primitive from a master consolidated primitive

Consolidate ( ) : void

Consolidates the mesh defined by the primitive's array of faces This will actually merge vertices that are considered equal, thus reducing their number Consolidated faces will be re-ordered to map the new consolidated vertices

Primitive ( LoaderTempMesh _OwnerMesh, SceneLoader _Owner, string _Name, FBXImporter _Material ) : System

보호된 메소드들

메소드 설명
InsertConsolidatedVertex ( List _ConsolidatedVertices, Dictionary _Dictionary, int _OriginalVertexIndex, ConsolidatedVertex _Vertex ) : ConsolidatedVertex

Inserts the provided consolidated vertex into the list of vertices If there already exists a matching vertex in the list of consolidated vertices, then this vertex is returned instead

메소드 상세

AddFace() 공개 메소드

public AddFace ( ConsolidatedFace _Face ) : void
_Face ConsolidatedFace
리턴 void

BuildFromMaster() 공개 메소드

Builds a slave primitive from a master consolidated primitive
public BuildFromMaster ( Primitive _Master ) : void
_Master Primitive
리턴 void

Consolidate() 공개 메소드

Consolidates the mesh defined by the primitive's array of faces This will actually merge vertices that are considered equal, thus reducing their number Consolidated faces will be re-ordered to map the new consolidated vertices
public Consolidate ( ) : void
리턴 void

InsertConsolidatedVertex() 보호된 메소드

Inserts the provided consolidated vertex into the list of vertices If there already exists a matching vertex in the list of consolidated vertices, then this vertex is returned instead
protected InsertConsolidatedVertex ( List _ConsolidatedVertices, Dictionary _Dictionary, int _OriginalVertexIndex, ConsolidatedVertex _Vertex ) : ConsolidatedVertex
_ConsolidatedVertices List The list where to insert the vertex in case it does not already exist
_Dictionary Dictionary The dictionary yielding the list of consolidated vertices associated to each original position vertex (as the only forever common data of all vertices --consolidated or not-- is their position)
_OriginalVertexIndex int The index of the original position vertex
_Vertex ConsolidatedVertex The consolidated vertex to insert
리턴 ConsolidatedVertex

Primitive() 공개 메소드

public Primitive ( LoaderTempMesh _OwnerMesh, SceneLoader _Owner, string _Name, FBXImporter _Material ) : System
_OwnerMesh LoaderTempMesh
_Owner SceneLoader
_Name string
_Material FBXImporter
리턴 System

프로퍼티 상세

m_Faces 보호되어 있는 프로퍼티

protected List m_Faces
리턴 List

m_FacesAsArray 보호되어 있는 프로퍼티

protected ConsolidatedFace[] m_FacesAsArray
리턴 ConsolidatedFace[]

m_Material 보호되어 있는 프로퍼티

protected FBXImporter.Material m_Material
리턴 FBXImporter.Material

m_OverrideMaterial 보호되어 있는 프로퍼티

protected Material,FBX.SceneLoader.Objects m_OverrideMaterial
리턴 Material

m_OwnerMesh 보호되어 있는 프로퍼티

protected LoaderTempMesh,FBX.SceneLoader.Objects m_OwnerMesh
리턴 LoaderTempMesh

m_Streams 보호되어 있는 프로퍼티

protected VertexStream[] m_Streams
리턴 VertexStream[]

m_Vertices 보호되어 있는 프로퍼티

protected List m_Vertices
리턴 List