-
Notifications
You must be signed in to change notification settings - Fork 16
Vector3Info
Tommo J. Phillips edited this page Oct 22, 2023
·
3 revisions
Namespace: TommoJProductions.ModApi
Represents a only x, y, z from a Vector3
public class Vector3InfoInheritance Object → Vector3Info
represents the x cord.
public float x { get; set; }represents the y cord.
public float y { get; set; }represents the z cord.
public float z { get; set; }inits a new info with zeros.
public Vector3Info()inits a new info.
public Vector3Info(float x, float y, float z)x Single
y Single
z Single
inits a new vector3info with vector3 values.
public Vector3Info(Vector3 v)v Vector3
converts a vector3.
public static Vector3Info getInfo(Vector3 v)v Vector3
the vector3 to convert.
Vector3Info
new instance Vector3Info
Determines if object is a vector 3 info and if that instance equals this instance.
public virtual bool Equals(object obj)obj Object
the object to test.
gets the vector3 hashcode.
public virtual int GetHashCode()