OpenMetaverse Protocol Library Developers API Documentation
Vector3 Structure
NamespacesOpenMetaverseVector3
A three-dimensional vector with floating-point values
Declaration Syntax
C#
[
SerializableAttribute]
public 
struct 
Vector3 : 
IComparable<
Vector3>, 
        
IEquatable<
Vector3>
Members
All Members Constructors Methods Fields



Icon Member Description
Vector3(Single, Single, Single)
Initializes a new instance of the Vector3class

Vector3(Single)
Initializes a new instance of the Vector3class

Vector3(Vector2, Single)
Initializes a new instance of the Vector3class

Vector3(Vector3d)
Initializes a new instance of the Vector3class

Vector3( array< Byte > [] () [] [] , Int32)
Constructor, builds a vector from a byte array

Vector3(Vector3)
Initializes a new instance of the Vector3class

Add(Vector3, Vector3)
Addition(Vector3, Vector3)
ApproxEquals(Vector3, Single)
Test if this vector is equal to another vector, within a given tolerance range

Clamp(Vector3, Vector3, Vector3)
CompareTo(Vector3)
IComparable.CompareTo implementation

Cross(Vector3, Vector3)
Distance(Vector3, Vector3)
DistanceSquared(Vector3, Vector3)
Divide(Vector3, Vector3)
Divide(Vector3, Single)
Division(Vector3, Vector3)
Division(Vector3, Single)
Dot(Vector3, Vector3)
Equality(Vector3, Vector3)
Equals(Object) (Overrides ValueType. Equals(Object).)
Equals(Vector3)
Explicit Narrowing Explicit Explicit Explicit (Vector3d to Vector3)
Explicit casting for Vector3d > Vector3

FromBytes( array< Byte > [] () [] [] , Int32)
Builds a vector from a byte array

GetBytes () () () ()
Returns the raw bytes for this vector

GetHashCode () () () () (Overrides ValueType. GetHashCode () () () () .)
Inequality(Vector3, Vector3)
IsFinite () () () ()
Test if this vector is composed of all finite numbers

Length () () () ()
LengthSquared () () () ()
Lerp(Vector3, Vector3, Single)
Mag(Vector3)
Max(Vector3, Vector3)
Min(Vector3, Vector3)
Modulus(Vector3, Vector3)
Cross product between two vectors

Multiply(Vector3, Vector3)
Multiply(Vector3, Single)
Multiply(Vector3, Vector3)
Multiply(Vector3, Single)
Multiply(Vector3, Quaternion)
Multiply(Vector3, Matrix4)
Negate(Vector3)
Normalize () () () ()
Normalize(Vector3)
One
A vector with a value of 1,1,1

Parse(String)
Parse a vector from a string

RotationBetween(Vector3, Vector3)
Calculate the rotation between two vectors

SmoothStep(Vector3, Vector3, Single)
Interpolates between two vectors using a cubic equation

Subtract(Vector3, Vector3)
Subtraction(Vector3, Vector3)
ToBytes( array< Byte > [] () [] [] , Int32)
Writes the raw bytes for this vector to a byte array

ToRawString () () () ()
Get a string representation of the vector elements with up to three decimal digits and separated by spaces only

ToString () () () ()
Get a formatted string representation of the vector
(Overrides ValueType. ToString () () () () .)
Transform(Vector3, Matrix4)
TransformNormal(Vector3, Matrix4)
TryParse(String, Vector3 % )
UnaryNegation(Vector3)
UnitX
A unit vector facing forward (X axis), value 1,0,0

UnitY
A unit vector facing left (Y axis), value 0,1,0

UnitZ
A unit vector facing up (Z axis), value 0,0,1

X
X value

Y
Y value

Z
Z value

Zero
A vector with a value of 0,0,0

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0