Property | Type | Description | |
---|---|---|---|
distanceToRoot | float | ||
globalTransform | TressFXLib.HairStrandVertexTransform | ||
isMovable | bool | ||
localTransform | TressFXLib.HairStrandVertexTransform | ||
position | System.Vector3 | ||
referenceVector | System.Vector4 | ||
restLength | float | ||
tangent | System.Vector3 | ||
texcoord | System.Vector4 | ||
thicknessCoefficient | float |
Method | Description | |
---|---|---|
GetTressFXPosition ( ) : System.Vector4 |
Creates a 4-component tressfx position vector. Tressfx uses the first 3 components for the actual world position (XYZ) and the fourth component as "movable flag". If the movable flag is 0, the hair is immovable. If it is > 0 it is movable.
|
|
HairStrandVertex ( System.Vector3 position, System.Vector3 tangent, System.Vector4 texcoord ) : System |
"Easy-init" constructor.
|
public GetTressFXPosition ( ) : System.Vector4 | ||
return | System.Vector4 |
public HairStrandVertex ( System.Vector3 position, System.Vector3 tangent, System.Vector4 texcoord ) : System | ||
position | System.Vector3 | |
tangent | System.Vector3 | |
texcoord | System.Vector4 | |
return | System |
public HairStrandVertexTransform,TressFXLib globalTransform | ||
return | TressFXLib.HairStrandVertexTransform |
public HairStrandVertexTransform,TressFXLib localTransform | ||
return | TressFXLib.HairStrandVertexTransform |