|
Vector3 | MinCoordinate [get, set] |
| Gets or sets the smallest coordinate of the cube spanned by the model.
|
|
Vector3U | CoordinateMask [get, set] |
| Gets the coordinate mask required to compute indices into the octree.
|
|
Vector3U | CoordinateShift [get, set] |
| Gets the coordinate shift required to compute indices into the octree.
|
|
List< Vector3 > | Positions [get, set] |
| Gets the array of vertex positions.
|
|
List< Vector3 > | Normals [get, set] |
| Gets the array of vertex normals.
|
|
KclPrism[] | Prisms [get, set] |
| Gets the array of triangles.
|
|
float | PrismThickness [get, set] |
| Gets or sets the thickness of the Prisms.
|
|
PolygonOctree[] | PolygonOctreeRoots [get, private set] |
| Gets the root nodes of the model triangle octree. Can be null if no octree was loaded or created yet.
|
|
float | SphereRadius = 1f [get, set] |
| Gets or sets the thickness of the prisms.
|
|
FileVersion | Version = FileVersion.Version2 [get, private set] |
| Gets the current file version to use in the binary file.
|
|
List< KclPrism > | HitPrisms = new List<KclPrism>() [get, set] |
| A list of prisms which are hit detectedfrom the collision handler.
|
|
List< PolygonOctree > | HitOctrees = new List<PolygonOctree>() [get, set] |
| A list of octrees which are hit detected from the collision handler.
|
|
|
Dictionary< ushort[], int > | CreateIndexBuffer (Queue< PolygonOctree[]> queuedNodes) |
|
void | GetOctreeBounding (List< OctreeBounding > boundings, PolygonOctree octree, Vector3 cubePosition, float cubeSize) |
|
int | GetPolygonOctreeDepth (PolygonOctree octree, Vector3 cubePosition, float cubeSize, int depth=0) |
|
int | GetNodeCount (PolygonOctree[] nodes) |
|
int | IndexOfVertex (Vector3 value, List< Vector3 > valueList, Dictionary< string, int > lookupTable) |
|
◆ KCLModel() [1/2]
KclLibrary.KCLModel.KCLModel |
( |
| ) |
|
◆ KCLModel() [2/2]
◆ CheckHit()
◆ ContainsVector3()
static int KclLibrary.KCLModel.ContainsVector3 |
( |
Vector3 | a, |
|
|
List< Vector3 > | b ) |
|
staticprivate |
◆ CreateIndexBuffer()
Dictionary< ushort[], int > KclLibrary.KCLModel.CreateIndexBuffer |
( |
Queue< PolygonOctree[]> | queuedNodes | ) |
|
|
private |
◆ GetCoordinatePadding()
Vector3 KclLibrary.KCLModel.GetCoordinatePadding |
( |
| ) |
|
◆ GetMaxOctreeDepth()
int KclLibrary.KCLModel.GetMaxOctreeDepth |
( |
| ) |
|
Gets the max amount of octree depth used within the tree.
◆ GetMaxTriangleCount()
uint KclLibrary.KCLModel.GetMaxTriangleCount |
( |
| ) |
|
Gets the maximum triangle count used by an octree.
◆ GetMinCubeSize()
float KclLibrary.KCLModel.GetMinCubeSize |
( |
| ) |
|
Gets the smallest cube size used for the octrees.
◆ GetNodeCount()
◆ GetOctreeBounding()
◆ GetOctreeBoundings()
Gets a global list of octrees with bounding information.
- Returns
◆ GetPolygonOctreeDepth()
int KclLibrary.KCLModel.GetPolygonOctreeDepth |
( |
PolygonOctree | octree, |
|
|
Vector3 | cubePosition, |
|
|
float | cubeSize, |
|
|
int | depth = 0 ) |
|
private |
◆ GetTriangle()
Creates a triangle with 3 positions from the given collision prism.
- Returns
◆ IndexOfVertex()
int KclLibrary.KCLModel.IndexOfVertex |
( |
Vector3 | value, |
|
|
List< Vector3 > | valueList, |
|
|
Dictionary< string, int > | lookupTable ) |
|
private |
◆ CoordinateMask
Vector3U KclLibrary.KCLModel.CoordinateMask |
|
getset |
Gets the coordinate mask required to compute indices into the octree.
◆ CoordinateShift
Vector3U KclLibrary.KCLModel.CoordinateShift |
|
getset |
Gets the coordinate shift required to compute indices into the octree.
◆ HitOctrees
A list of octrees which are hit detected from the collision handler.
◆ HitPrisms
A list of prisms which are hit detectedfrom the collision handler.
◆ MinCoordinate
Vector3 KclLibrary.KCLModel.MinCoordinate |
|
getset |
Gets or sets the smallest coordinate of the cube spanned by the model.
◆ Normals
List<Vector3> KclLibrary.KCLModel.Normals |
|
getset |
Gets the array of vertex normals.
◆ PolygonOctreeRoots
Gets the root nodes of the model triangle octree. Can be null
if no octree was loaded or created yet.
◆ Positions
List<Vector3> KclLibrary.KCLModel.Positions |
|
getset |
Gets the array of vertex positions.
◆ Prisms
Gets the array of triangles.
◆ PrismThickness
float KclLibrary.KCLModel.PrismThickness |
|
getset |
Gets or sets the thickness of the Prisms.
◆ SphereRadius
float KclLibrary.KCLModel.SphereRadius = 1f |
|
getset |
Gets or sets the thickness of the prisms.
◆ Version
Gets the current file version to use in the binary file.
The documentation for this class was generated from the following file:
- Assets/_Game/__DECOMP/KclLibrary/CollisonFile/KCLModel.cs