Class Size3f
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Represents a vector of 3 floats. Go bug Tyron of you need more utility methods in this class. Open in GitHub
[DocumentAsJson]
public class Size3f : ISize3
- Inheritance
-
Size3f
- Implements
- Inherited Members
- Extension Methods
Constructors
Size3f()
public Size3f()
Size3f(float, float, float)
public Size3f(float width, float height, float length)
Parameters
Fields
Height
The Y-dimension for this size.
[DocumentAsJson("Recommended", "0", false)]
public float Height
Field Value
Length
The Z-dimension for this size.
[DocumentAsJson("Recommended", "0", false)]
public float Length
Field Value
Width
The X-dimension of this size.
[DocumentAsJson("Recommended", "0", false)]
public float Width
Field Value
Properties
HeightAsDouble
public double HeightAsDouble { get; }
Property Value
HeightAsFloat
public float HeightAsFloat { get; }
Property Value
HeightAsInt
public int HeightAsInt { get; }
Property Value
LengthAsDouble
public double LengthAsDouble { get; }
Property Value
LengthAsFloat
public float LengthAsFloat { get; }
Property Value
LengthAsInt
public int LengthAsInt { get; }
Property Value
Volume
public float Volume { get; }
Property Value
WidthAsDouble
public double WidthAsDouble { get; }
Property Value
WidthAsFloat
public float WidthAsFloat { get; }
Property Value
WidthAsInt
public int WidthAsInt { get; }
Property Value
Methods
CanContain(Size3f)
public bool CanContain(Size3f obj)
Parameters
objSize3f
Returns
Clone()
public Size3f Clone()