Class Vec3f
- 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]
[JsonObject(MemberSerialization.OptIn)]
[ProtoContract]
public class Vec3f
- Inheritance
-
Vec3f
Fields
X
The X-Component of the vector
[JsonProperty]
[ProtoMember(1)]
public float X
Field Value
Y
The Y-Component of the vector
[JsonProperty]
[ProtoMember(2)]
public float Y
Field Value
Z
The Z-Component of the vector
[JsonProperty]
[ProtoMember(3)]
public float Z