Class FloatArrayAttribute
- Namespace
- Vintagestory.API.Datastructures
- Assembly
- VintagestoryAPI.dll
public class FloatArrayAttribute : ArrayAttribute<float>, IAttribute
- Inheritance
-
FloatArrayAttribute
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
FloatArrayAttribute()
public FloatArrayAttribute()
FloatArrayAttribute(float[])
public FloatArrayAttribute(float[] value)
Parameters
value
float[]
Methods
Clone()
public IAttribute Clone()
Returns
- IAttribute
FromBytes(BinaryReader)
public void FromBytes(BinaryReader stream)
Parameters
stream
BinaryReader
GetAttributeId()
public int GetAttributeId()
Returns
- int
ToBytes(BinaryWriter)
public void ToBytes(BinaryWriter stream)
Parameters
stream
BinaryWriter
ToJsonToken()
public override string ToJsonToken()
Returns
- string