Class CustomMeshDataPartShort
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Holds arbitrary short data for meshes to be used in the shader
public class CustomMeshDataPartShort : CustomMeshDataPart<short>
- Inheritance
-
CustomMeshDataPartShort
- Inherited Members
- Extension Methods
Constructors
CustomMeshDataPartShort()
Empty constructor.
public CustomMeshDataPartShort()
CustomMeshDataPartShort(int)
Size initialization constructor.
public CustomMeshDataPartShort(int size)
Parameters
size
int
Fields
Conversion
public DataConversion Conversion
Field Value
Methods
AddPackedUV(float, float)
public void AddPackedUV(float u1, float v1)
Parameters
Clone()
Creates a clone of this collection of data parts.
public CustomMeshDataPartShort Clone()
Returns
- CustomMeshDataPartShort
A clone of this collection of data parts.
EmptyClone()
public CustomMeshDataPartShort EmptyClone()