C# 클래스 Axiom.Core.StaticGeometry.OptimisedSubMeshGeometry

Struct holding geometry optimised per SubMesh / LOD level, ready for copying to instances.
Since we're going to be duplicating geometry lots of times, it's far more important that we don't have redundant vertex data. If a SubMesh uses shared geometry, or we're looking at a lower LOD, not all the vertices are being referenced by faces on that submesh. Therefore to duplicate them, potentially hundreds or even thousands of times, would be extremely wasteful. Therefore, if a SubMesh at a given LOD has wastage, we create an optimised version of it's geometry which is ready for copying with no wastage. The hierarchy is: StaticGeometry Region LODBucket MaterialBucket GeometryBucket GeometryBucket is the layer at which different meshes that share the same material are combined.
파일 보기 프로젝트 열기: WolfgangSt/axiom

공개 프로퍼티들

프로퍼티 타입 설명
indexData Axiom.Graphics.IndexData
vertexData Axiom.Graphics.VertexData

프로퍼티 상세

indexData 공개적으로 프로퍼티

public IndexData,Axiom.Graphics indexData
리턴 Axiom.Graphics.IndexData

vertexData 공개적으로 프로퍼티

public VertexData,Axiom.Graphics vertexData
리턴 Axiom.Graphics.VertexData