Table of Contents

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

DataConversion

Methods

AddPackedUV(float, float, bool, bool)

public void AddPackedUV(float u, float v, bool isU2, bool isV2)

Parameters

u float
v float
isU2 bool
isV2 bool

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()

Returns

CustomMeshDataPartShort