Class Vector3Value
- Namespace
- NominalSystems.Maths
- Assembly
- NominalSystems.Maths.dll
A vector state storing a single Vector3 value.
public class Vector3Value : VectorState
- Inheritance
-
Vector3Value
- Inherited Members
Constructors
Vector3Value()
Default constructor, setting the Vector value to (0, 0, 0)
public Vector3Value()
Vector3Value(Vector3)
Constructor that sets the Vector3 value to an existing Vector3.
public Vector3Value(Vector3 vectorValue)
Parameters
vectorValue
Vector3An existing Vector3 to set as the Vector3 value
Vector3Value(double, double, double)
Constructor that sets the 3 components of the Vector3 value.
public Vector3Value(double x, double y, double z)
Parameters
x
doubleThe X component of the Vector
y
doubleThe Y component of the Vector
z
doubleThe Z component of the Vector
Properties
this[int]
public override double this[int i] { get; set; }
Parameters
i
int
Property Value
this[uint]
The get/set value accessor
public override double this[uint i] { get; set; }
Parameters
i
uintvalue index
Property Value
Size
The total size
public override uint Size { get; }
Property Value
Methods
Copy()
A function for creating a value copy of this class.
public override VectorState Copy()
Returns
MakeNull()
A method allowing values to be set to null.
public override bool MakeNull()
Returns
- bool
A boolean indicating if the value was successfully set to null.
ResetValue()
Reset the value of the VectorState to it's default value.
public override void ResetValue()
Operators
explicit operator Vector3Value(Vector3)
public static explicit operator Vector3Value(Vector3 a)
Parameters
a
Vector3