Gorilla.X3D.Tesselation
Unit Gorilla.X3D.Tesselation.pasClasses
- TGorillaX3DTesselation = class ( TObject )
Records
- record TDoubleVector
Mics. types
- type PDoubleVector = pointer to TDoubleVector;
TGorillaX3DTesselation
Ancestors
Members
Fields
- protected FVertices :
TX3DPolygon
- protected FTotalVertCount :
Integer
- protected FIndices :
TX3DFaceIndexArray
- protected FTexCoords :
TX3DPointFArray
- protected FTexIndices :
TX3DFaceIndexArray
- protected FNormals :
TX3DPolygon
- protected FColors :
TX3DPolygon
- protected FMode :
Cardinal
- protected FTessFace :
TX3DVertexDataList
- protected FTessVertices :
TX3DVertexDataArray
- protected FTriangleCount :
Integer
- protected FTriangles :
TX3DVertexTriangles
- protected FTessVertCount :
Integer
- protected FTessExtraVertices :
Integer
Methods
- public constructor Create ( const AVertices : TX3DPolygon; const AIndices : TX3DFaceIndexArray; const ATexCoords : TX3DPointFArray; const ATexIndices : TX3DFaceIndexArray; const ANormals : TX3DPolygon; const AColors : TX3DPolygon ) ;
- public destructor Destroy ( ) ;
- protected function AllocNewVertex ( ) : PX3DVertexData ;
- protected procedure AddTriangle ( const ATriangle : TX3DVertexTriangle ) ;
- protected function GetNormal ( const P1 : TPoint3D; const P2 : TPoint3D; const P3 : TPoint3D ) : TPoint3D ;
- public procedure Tesselate ( APolygon : TX3DVertexDataArray; ANormal : PPoint3D = nil ; AInvertNormals : Boolean = False ) ; overload;
- public procedure Tesselate ( ) ; overload;
Properties
- public Vertices : TArray<System.Math.Vectors.TPoint3D>read FVertices
- public Indices : TArray<Gorilla.X3D.Types.TX3DFaceIndex>read FIndices
- public TexCoords : TArray<System.Types.TPointF>read FTexCoords
- public TexIndices : TArray<Gorilla.X3D.Types.TX3DFaceIndex>read FTexIndices
- public Triangles : TArray<Gorilla.X3D.Types.TX3DVertexTriangle>read FTriangles