Interface IVertexData
Represents a Vertex Data.
A Vertex Data contains all attributes a Unity Vertex can have.
Assembly: TriLibCore.dll
Syntax
public interface IVertexData
Methods
GetBoneWeight(IGeometryGroup)
Gets/Sets the Vertex processed Bone Weight.
Declaration
BoneWeight GetBoneWeight(IGeometryGroup geometryGroup)
Parameters
Returns
Type |
Description |
BoneWeight |
|
GetColor(IGeometryGroup)
Gets/Sets the Vertex Color.
Declaration
Color GetColor(IGeometryGroup geometryGroup)
Parameters
Returns
GetNormal(IGeometryGroup)
Gets/Sets the Vertex Normal.
Declaration
Vector3 GetNormal(IGeometryGroup geometryGroup)
Parameters
Returns
GetPosition(IGeometryGroup)
Gets/Sets the Vertex Position.
Declaration
Vector3 GetPosition(IGeometryGroup geometryGroup)
Parameters
Returns
GetTangent(IGeometryGroup)
Gets/Sets the Vertex Tangent.
Declaration
Vector4 GetTangent(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV1(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 1.
Declaration
Vector2 GetUV1(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV2(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 2.
Declaration
Vector2 GetUV2(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV3(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 3.
Declaration
Vector2 GetUV3(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV4(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 4.
Declaration
Vector2 GetUV4(IGeometryGroup geometryGroup)
Parameters
Returns
GetUsesBoneWeight(IGeometryGroup)
Indicates whether this Vertex Data uses Bone Weights.
Declaration
bool GetUsesBoneWeight(IGeometryGroup geometryGroup)
Parameters
Returns
GetVertexIndex(IGeometryGroup)
Gets/Sets the original Vertex Index.
Declaration
int GetVertexIndex(IGeometryGroup geometryGroup)
Parameters
Returns
SetBoneWeight(BoneWeight, IGeometryGroup)
Gets/Sets the Vertex processed Bone Weight.
Declaration
void SetBoneWeight(BoneWeight value, IGeometryGroup geometryGroup)
Parameters
SetColor(Color, IGeometryGroup)
Gets/Sets the Vertex Color.
Declaration
void SetColor(Color value, IGeometryGroup geometryGroup)
Parameters
SetNormal(Vector3, IGeometryGroup)
Gets/Sets the Vertex Normal.
Declaration
void SetNormal(Vector3 value, IGeometryGroup geometryGroup)
Parameters
SetPosition(Vector3, IGeometryGroup)
Gets/Sets the Vertex Position.
Declaration
void SetPosition(Vector3 value, IGeometryGroup geometryGroup)
Parameters
SetTangent(Vector4, IGeometryGroup)
Gets/Sets the Vertex Tangent.
Declaration
void SetTangent(Vector4 value, IGeometryGroup geometryGroup)
Parameters
SetUV1(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 1.
Declaration
void SetUV1(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV2(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 2.
Declaration
void SetUV2(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV3(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 3.
Declaration
void SetUV3(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV4(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 4.
Declaration
void SetUV4(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetVertexIndex(int, IGeometryGroup)
Gets/Sets the original Vertex Index.
Declaration
void SetVertexIndex(int value, IGeometryGroup geometryGroup)
Parameters
Extension Methods