Class InterpolatedVertex
Inheritance
InterpolatedVertex
Assembly: TriLibCore.dll
Syntax
public class InterpolatedVertex : IVertexData
Constructors
InterpolatedVertex(Vector3)
Declaration
public InterpolatedVertex(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Methods
CopySpanToNativeArray(ref NativeArray<byte>, int, int)
Declaration
public void CopySpanToNativeArray(ref NativeArray<byte> data, int spanStart, int spanEnd)
Parameters
Type |
Name |
Description |
NativeArray<byte> |
data |
|
int |
spanStart |
|
int |
spanEnd |
|
GetBoneWeight(IGeometryGroup)
Gets/Sets the Vertex processed Bone Weight.
Declaration
public BoneWeight GetBoneWeight(IGeometryGroup geometryGroup)
Parameters
Returns
Type |
Description |
BoneWeight |
|
GetColor(IGeometryGroup)
Gets/Sets the Vertex Color.
Declaration
public Color GetColor(IGeometryGroup geometryGroup)
Parameters
Returns
GetNormal(IGeometryGroup)
Gets/Sets the Vertex Normal.
Declaration
public Vector3 GetNormal(IGeometryGroup geometryGroup)
Parameters
Returns
GetPosition(IGeometryGroup)
Gets/Sets the Vertex Position.
Declaration
public Vector3 GetPosition(IGeometryGroup geometryGroup)
Parameters
Returns
GetStreamSpans(IGeometryGroup, IList<Tuple<int, int>>)
Declaration
public void GetStreamSpans(IGeometryGroup geometryGroup, IList<Tuple<int, int>> spans)
Parameters
GetTangent(IGeometryGroup)
Gets/Sets the Vertex Tangent.
Declaration
public Vector4 GetTangent(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV1(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 1.
Declaration
public Vector2 GetUV1(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV2(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 2.
Declaration
public Vector2 GetUV2(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV3(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 3.
Declaration
public Vector2 GetUV3(IGeometryGroup geometryGroup)
Parameters
Returns
GetUV4(IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 4.
Declaration
public Vector2 GetUV4(IGeometryGroup geometryGroup)
Parameters
Returns
GetUsesBoneWeight(IGeometryGroup)
Indicates whether this Vertex Data uses Bone Weights.
Declaration
public bool GetUsesBoneWeight(IGeometryGroup geometryGroup)
Parameters
Returns
GetVertexIndex(IGeometryGroup)
Gets/Sets the original Vertex Index.
Declaration
public int GetVertexIndex(IGeometryGroup geometryGroup)
Parameters
Returns
HasSkin(IGeometryGroup)
Declaration
public bool HasSkin(IGeometryGroup geometryGroup)
Parameters
Returns
SetBoneWeight(BoneWeight, IGeometryGroup)
Gets/Sets the Vertex processed Bone Weight.
Declaration
public void SetBoneWeight(BoneWeight value, IGeometryGroup geometryGroup)
Parameters
SetColor(Color, IGeometryGroup)
Gets/Sets the Vertex Color.
Declaration
public void SetColor(Color value, IGeometryGroup geometryGroup)
Parameters
SetNormal(Vector3, IGeometryGroup)
Gets/Sets the Vertex Normal.
Declaration
public void SetNormal(Vector3 value, IGeometryGroup geometryGroup)
Parameters
SetPosition(Vector3, IGeometryGroup)
Gets/Sets the Vertex Position.
Declaration
public void SetPosition(Vector3 value, IGeometryGroup geometryGroup)
Parameters
SetTangent(Vector4, IGeometryGroup)
Gets/Sets the Vertex Tangent.
Declaration
public void SetTangent(Vector4 value, IGeometryGroup geometryGroup)
Parameters
SetUV1(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 1.
Declaration
public void SetUV1(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV2(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 2.
Declaration
public void SetUV2(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV3(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 3.
Declaration
public void SetUV3(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetUV4(Vector2, IGeometryGroup)
Gets/Sets the Vertex Texture Coordinate 4.
Declaration
public void SetUV4(Vector2 value, IGeometryGroup geometryGroup)
Parameters
SetVertexIndex(int, IGeometryGroup)
Gets/Sets the original Vertex Index.
Declaration
public void SetVertexIndex(int value, IGeometryGroup geometryGroup)
Parameters
Implements
Extension Methods