[This is preliminary documentation and is subject to change.]

A three-dimensional vector with floating-point values

Namespace:  OpenMetaverse
Assembly:  OpenMetaverseTypes (in OpenMetaverseTypes.dll) Version: 0.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public struct Vector3 : IComparable<Vector3>, 
	IEquatable<Vector3>
<SerializableAttribute> _
Public Structure Vector3 _
	Implements IComparable(Of Vector3), IEquatable(Of Vector3)
[SerializableAttribute]
public value class Vector3 : IComparable<Vector3>, 
	IEquatable<Vector3>

Members

            
 All Members  Constructors   Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Vector3(Vector3)
Vector3(Vector3d)
Vector3(Single)
Vector3(Vector2, Single)
Vector3(array<Byte>[]()[], Int32)
Constructor, builds a vector from a byte array
Vector3(Single, Single, Single)
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(Vector3)
Equals(Object) (Overrides ValueType..::.Equals(Object).)
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, Matrix4)
Multiply(Vector3, Quaternion)
Multiply(Vector3, Vector3)
Multiply(Vector3, Single)
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

See Also