Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
KclLibrary.KclPrism Struct Reference

Represents a prism as stored in a collision file. More...

Public Attributes

float Length
 The length of this triangle.
 
ushort PositionIndex
 The 0-based index of the positional vector in the position array of the model this triangle belongs to.
 
ushort DirectionIndex
 The 0-based index of the direction normal in the normal array of the model this triangle belongs to.
 
ushort Normal1Index
 The first 0-based index of the normal in the normal array of the model this triangle belongs to.
 
ushort Normal2Index
 The second 0-based index of the normal in the normal array of the model this triangle belongs to.
 
ushort Normal3Index
 The third 0-based index of the normal in the normal array of the model this triangle belongs to.
 
ushort CollisionFlags
 The collision flags determining in-game behavior when colliding with this polygon.
 
uint GlobalIndex
 The 0-based index of the triangle in the KCL file this triangle belongs to.
 

Detailed Description

Represents a prism as stored in a collision file.

Member Data Documentation

◆ CollisionFlags

ushort KclLibrary.KclPrism.CollisionFlags

The collision flags determining in-game behavior when colliding with this polygon.

◆ DirectionIndex

ushort KclLibrary.KclPrism.DirectionIndex

The 0-based index of the direction normal in the normal array of the model this triangle belongs to.

◆ GlobalIndex

uint KclLibrary.KclPrism.GlobalIndex

The 0-based index of the triangle in the KCL file this triangle belongs to.

◆ Length

float KclLibrary.KclPrism.Length

The length of this triangle.

◆ Normal1Index

ushort KclLibrary.KclPrism.Normal1Index

The first 0-based index of the normal in the normal array of the model this triangle belongs to.

◆ Normal2Index

ushort KclLibrary.KclPrism.Normal2Index

The second 0-based index of the normal in the normal array of the model this triangle belongs to.

◆ Normal3Index

ushort KclLibrary.KclPrism.Normal3Index

The third 0-based index of the normal in the normal array of the model this triangle belongs to.

◆ PositionIndex

ushort KclLibrary.KclPrism.PositionIndex

The 0-based index of the positional vector in the position array of the model this triangle belongs to.


The documentation for this struct was generated from the following file: