OpenMetaverse Protocol Library Developers API Documentation
Vector4 Structure
NamespacesOpenMetaverseVector4
Declaration Syntax
C#
[
SerializableAttribute]
public 
struct 
Vector4 : 
IComparable<
Vector4>, 
        
IEquatable<
Vector4>
Members
All Members Constructors Methods Fields



Icon Member Description
Vector4(Single, Single, Single, Single)
Initializes a new instance of the Vector4class

Vector4(Vector2, Single, Single)
Initializes a new instance of the Vector4class

Vector4(Vector3, Single)
Initializes a new instance of the Vector4class

Vector4(Single)
Initializes a new instance of the Vector4class

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

Vector4(Vector4)
Initializes a new instance of the Vector4class

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

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

Distance(Vector4, Vector4)
DistanceSquared(Vector4, Vector4)
Divide(Vector4, Vector4)
Divide(Vector4, Single)
Division(Vector4, Vector4)
Division(Vector4, Single)
Dot(Vector4, Vector4)
Equality(Vector4, Vector4)
Equals(Object) (Overrides ValueType. Equals(Object).)
Equals(Vector4)
FromBytes( array< Byte > [] () [] [] , Int32)
Builds a vector from a byte array

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

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

Length () () () ()
LengthSquared () () () ()
Lerp(Vector4, Vector4, Single)
Max(Vector4, Vector4)
Min(Vector4, Vector4)
Multiply(Vector4, Vector4)
Multiply(Vector4, Single)
Multiply(Vector4, Vector4)
Multiply(Vector4, Single)
Negate(Vector4)
Normalize () () () ()
Normalize(Vector4)
One
A vector with a value of 1,1,1,1

Parse(String)
SmoothStep(Vector4, Vector4, Single)
Subtract(Vector4, Vector4)
Subtraction(Vector4, Vector4)
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 () () () () (Overrides ValueType. ToString () () () () .)
Transform(Vector2, Matrix4)
Transform(Vector3, Matrix4)
Transform(Vector4, Matrix4)
TryParse(String, Vector4 % )
UnaryNegation(Vector4)
UnitW
A vector with a value of 0,0,0,1

UnitX
A vector with a value of 1,0,0,0

UnitY
A vector with a value of 0,1,0,0

UnitZ
A vector with a value of 0,0,1,0

W
W value

X
X value

Y
Y value

Z
Z value

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

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