Class CustomMeshDataPartShort
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Holds arbitrary short data for meshes to be used in the shader. radfast note: actually interpreted by the shader as ushort Open in GitHub
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, bool, bool)
public void AddPackedUV(float u, float v, bool isU2, bool isV2)
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()