C# 클래스 ColladaSlimDX.ColladaPipeline.Conditioner

파일 보기 프로젝트 열기: vvvv/ColladaSlimDX

공개 메소드들

메소드 설명
ConvexTriangulator ( Document doc ) : void

This method will convert convex polygons to triangles

A more advanced condionner would be required to handle convex, complex polygons

Reindexor ( Document doc ) : void

This method will create a single index for the primitives This will not work on polygons and polylist, since vcount is not taken in count there So you need to first run ConvexTriangulator (or equivalent)

This will make it directly usable as a index vertexArray for drawing

메소드 상세

ConvexTriangulator() 공개 정적인 메소드

This method will convert convex polygons to triangles

A more advanced condionner would be required to handle convex, complex polygons

public static ConvexTriangulator ( Document doc ) : void
doc Document
리턴 void

Reindexor() 공개 정적인 메소드

This method will create a single index for the primitives This will not work on polygons and polylist, since vcount is not taken in count there So you need to first run ConvexTriangulator (or equivalent)

This will make it directly usable as a index vertexArray for drawing

public static Reindexor ( Document doc ) : void
doc Document
리턴 void