AtomicNET : AtomicEngine Namespace

Vector3 Struct

Represents a 3D vector using three single-precision floating-point numbers.

Syntax

public struct Vector3 : IEquatable<Vector3>

Remarks

The Vector3 structure is suitable for interoperation with unmanaged code requiring three consecutive floats.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from ValueType.

Public Constructors

Constructs a new Vector3 from the given Vector2.
Constructs a new Vector3 from the given Vector3.
Constructs a new Vector3 from the given Vector4.
Documentation for this section has not yet been entered.
Constructs a new Vector3.

Public Fields

static readonly
Back Vector3 . Documentation for this section has not yet been entered.
static readonly
Down Vector3 . Documentation for this section has not yet been entered.
static readonly
Forward Vector3 . Documentation for this section has not yet been entered.
static readonly
Left Vector3 . Documentation for this section has not yet been entered.
static readonly
One Vector3 . Defines an instance with all components set to 1.
static readonly
Right Vector3 . Documentation for this section has not yet been entered.
static readonly
SizeInBytes int . Defines the size of the Vector3 struct in bytes.
static readonly
UnitX Vector3 . Defines a unit-length Vector3 that points towards the X-axis.
static readonly
UnitY Vector3 . Defines a unit-length Vector3 that points towards the Y-axis.
static readonly
UnitZ Vector3 . /// Defines a unit-length Vector3 that points towards the Z-axis.
static readonly
Up Vector3 . Documentation for this section has not yet been entered.
X float . The X component of the Vector3.
Y float . The Y component of the Vector3.
Z float . The Z component of the Vector3.
static readonly
Zero Vector3 . Defines a zero-length Vector3.

Public Properties

[read-only]
IsNaN bool . Return whether is NaN.
[read-only]
Length float . Gets the length (magnitude) of the vector.
[read-only]
LengthFast float . Gets an approximation of the vector length (magnitude).
[read-only]
LengthSquared float . Gets the square of the vector length (magnitude).
Xy Vector2 . Gets or sets an OpenTK.Vector2 with the X and Y components of this instance.

Public Methods

Abs ()
Documentation for this section has not yet been entered.
Add (Vector3)
Add the Vector passed as parameter to this instance.
Add (ref Vector3)
Add the Vector passed as parameter to this instance.
static
Add (Vector3, Vector3) : Vector3
Adds two vectors.
static
Add (ref Vector3, ref Vector3, out Vector3)
Adds two vectors.
static
BaryCentric (Vector3, Vector3, Vector3, float, float) : Vector3
Interpolate 3 Vectors using Barycentric coordinates
static
BaryCentric (ref Vector3, ref Vector3, ref Vector3, float, float, out Vector3)
Interpolate 3 Vectors using Barycentric coordinates
static
CalculateAngle (Vector3, Vector3) : float
Calculates the angle (in radians) between two vectors.
static
CalculateAngle (ref Vector3, ref Vector3, out float)
Calculates the angle (in radians) between two vectors.
static
Clamp (Vector3, Vector3, Vector3) : Vector3
Clamp a vector to the given minimum and maximum vectors
static
Clamp (ref Vector3, ref Vector3, ref Vector3, out Vector3)
Clamp a vector to the given minimum and maximum vectors
static
ClampedLerp (Vector3, Vector3, float) : Vector3
Returns a new Vector that is the linear blend of the 2 given Vectors
static
ClampedLerp (ref Vector3, ref Vector3, float, out Vector3)
Returns a new Vector that is the linear blend of the 2 given Vectors
static
ComponentMax (Vector3, Vector3) : Vector3
Calculate the component-wise maximum of two vectors
static
ComponentMax (ref Vector3, ref Vector3, out Vector3)
Calculate the component-wise maximum of two vectors
static
ComponentMin (Vector3, Vector3) : Vector3
Calculate the component-wise minimum of two vectors
static
ComponentMin (ref Vector3, ref Vector3, out Vector3)
Calculate the component-wise minimum of two vectors
static
Cross (Vector3, Vector3) : Vector3
Caclulate the cross (vector) product of two vectors
static
Cross (ref Vector3, ref Vector3, out Vector3)
Caclulate the cross (vector) product of two vectors
static
Distance (Vector3, Vector3) : float
Documentation for this section has not yet been entered.
static
Distance (ref Vector3, ref Vector3, out float)
Documentation for this section has not yet been entered.
static
DistanceSquared (Vector3, Vector3) : float
Documentation for this section has not yet been entered.
static
DistanceSquared (ref Vector3, ref Vector3, out float)
Documentation for this section has not yet been entered.
Div (float)
Divide this instance by a scalar.
static
Div (Vector3, float) : Vector3
Divide a vector by a scalar
static
Div (ref Vector3, float, out Vector3)
Divide a vector by a scalar
static
Divide (Vector3, Vector3) : Vector3
Divides a vector by the components of a vector (scale).
static
Divide (Vector3, float) : Vector3
Divides a vector by a scalar.
static
Divide (ref Vector3, ref Vector3, out Vector3)
Divide a vector by the components of a vector (scale).
static
Divide (ref Vector3, float, out Vector3)
Divides a vector by a scalar.
static
Dot (Vector3, Vector3) : float
Calculate the dot (scalar) product of two vectors
static
Dot (ref Vector3, ref Vector3, out float)
Calculate the dot (scalar) product of two vectors
Equals (Vector3) : bool
Indicates whether the current vector is equal to another vector.
override
Equals (object) : bool
Indicates whether this instance and a specified object are equal.
override
GetHashCode () : int
Returns the hashcode for this instance.
static
Lerp (Vector3, Vector3, float) : Vector3
Returns a new Vector that is the linear blend of the 2 given Vectors
static
Lerp (ref Vector3, ref Vector3, float, out Vector3)
Returns a new Vector that is the linear blend of the 2 given Vectors
static
Max (Vector3, Vector3) : Vector3
Returns the Vector3 with the minimum magnitude
static
Min (Vector3, Vector3) : Vector3
Returns the Vector3 with the minimum magnitude
Mult (float)
Multiply this instance by a scalar.
static
Mult (Vector3, float) : Vector3
Multiply a vector and a scalar
static
Mult (ref Vector3, float, out Vector3)
Multiply a vector and a scalar
static
Multiply (Vector3, Vector3) : Vector3
Multiplies a vector by the components a vector (scale).
static
Multiply (Vector3, float) : Vector3
Multiplies a vector by a scalar.
static
Multiply (ref Vector3, ref Vector3, out Vector3)
Multiplies a vector by the components of a vector (scale).
static
Multiply (ref Vector3, float, out Vector3)
Multiplies a vector by a scalar.
Normalize ()
Scales the Vector3 to unit length.
static
Normalize (Vector3) : Vector3
Scale a vector to unit length
static
Normalize (ref Vector3, out Vector3)
Scale a vector to unit length
NormalizeFast ()
Scales the Vector3 to approximately unit length.
static
NormalizeFast (Vector3) : Vector3
Scale a vector to approximately unit length
static
NormalizeFast (ref Vector3, out Vector3)
Scale a vector to approximately unit length
Scale (Vector3)
Scales this instance by the given parameter.
Scale (ref Vector3)
Scales this instance by the given parameter.
Scale (float, float, float)
Scales the current Vector3 by the given amounts.
Sub (Vector3)
Subtract the Vector passed as parameter from this instance.
Sub (ref Vector3)
Subtract the Vector passed as parameter from this instance.
static
Sub (Vector3, Vector3) : Vector3
Subtract one Vector from another
static
Sub (ref Vector3, ref Vector3, out Vector3)
Subtract one Vector from another
static
Subtract (Vector3, Vector3) : Vector3
Subtract one Vector from another
static
Subtract (ref Vector3, ref Vector3, out Vector3)
Subtract one Vector from another
override
ToString () : string
Returns a System.String that represents the current Vector3.
static
Transform (Vector3, Matrix4) : Vector4
Transform a Vector by the given Matrix
static
Transform (ref Vector3, ref Matrix4, out Vector4)
Transform a Vector by the given Matrix
static
TransformNormal (Vector3, Matrix4) : Vector3
Transform a Normal by the given Matrix
static
TransformNormal (ref Vector3, ref Matrix4, out Vector3)
Transform a Normal by the given Matrix
static
TransformNormalInverse (Vector3, Matrix4) : Vector3
Transform a Normal by the (transpose of the) given Matrix
static
TransformNormalInverse (ref Vector3, ref Matrix4, out Vector3)
Transform a Normal by the (transpose of the) given Matrix
static
TransformPerspective (Vector3, Matrix4) : Vector3
Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3
static
TransformPerspective (ref Vector3, ref Matrix4, out Vector3)
Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3
static
TransformPosition (Vector3, Matrix4) : Vector3
Transform a Position by the given Matrix
static
TransformPosition (ref Vector3, ref Matrix4, out Vector3)
Transform a Position by the given Matrix
static
TransformVector (Vector3, Matrix4) : Vector3
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.
static
TransformVector (ref Vector3, ref Matrix4, out Vector3)
Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.

Public Operators

static
Addition (Vector3, Vector3) Adds two instances.
static
Division (Vector3, float) Divides an instance by a scalar.
static
Equality (Vector3, Vector3) Compares two instances for equality.
static
Inequality (Vector3, Vector3) Compares two instances for inequality.
static
Multiply (Vector3, Vector3) Documentation for this section has not yet been entered.
static
Multiply (Vector3, float) Multiplies an instance by a scalar.
static
Multiply (float, Vector3) Multiplies an instance by a scalar.
static
Subtraction (Vector3, Vector3) Subtracts two instances.
static
UnaryNegation Negates an instance.

Member Details

Vector3 Constructor

Constructs a new Vector3 from the given Vector2.

Syntax

public Vector3 (Vector2 v)

Parameters

v
The Vector2 to copy components from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Vector3 Constructor

Constructs a new Vector3 from the given Vector3.

Syntax

public Vector3 (Vector3 v)

Parameters

v
The Vector3 to copy components from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Vector3 Constructor

Constructs a new Vector3 from the given Vector4.

Syntax

public Vector3 (Vector4 v)

Parameters

v
The Vector4 to copy components from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Vector3 Constructor

Documentation for this section has not yet been entered.

Syntax

public Vector3 (Vector2 v2, float z)

Parameters

v2
Documentation for this section has not yet been entered.
z
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Vector3 Constructor

Constructs a new Vector3.

Syntax

public Vector3 (float x, float y, float z)

Parameters

x
The x component of the Vector3.
y
The y component of the Vector3.
z
The z component of the Vector3.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Abs Method

Documentation for this section has not yet been entered.

Syntax

public void Abs ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Add Method

Add the Vector passed as parameter to this instance.

Syntax

[System.Obsolete("Use static Add() method instead.")]
public void Add (Vector3 right)

Parameters

right
Right operand. This parameter is only read from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Add Method

Add the Vector passed as parameter to this instance.

Syntax

[System.CLSCompliant(false)]
[System.Obsolete("Use static Add() method instead.")]
public void Add (ref Vector3 right)

Parameters

right
Right operand. This parameter is only read from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Add Method

Adds two vectors.

Syntax

public static Vector3 Add (Vector3 a, Vector3 b)

Parameters

a
Left operand.
b
Right operand.

Returns

Result of operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Add Method

Adds two vectors.

Syntax

public static void Add (ref Vector3 a, ref Vector3 b, out Vector3 result)

Parameters

a
Left operand.
b
Right operand.
result
Result of operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Back Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Back

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

BaryCentric Method

Interpolate 3 Vectors using Barycentric coordinates

Syntax

public static Vector3 BaryCentric (Vector3 a, Vector3 b, Vector3 c, float u, float v)

Parameters

a
First input Vector
b
Second input Vector
c
Third input Vector
u
First Barycentric Coordinate
v
Second Barycentric Coordinate

Returns

a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

BaryCentric Method

Interpolate 3 Vectors using Barycentric coordinates

Syntax

public static void BaryCentric (ref Vector3 a, ref Vector3 b, ref Vector3 c, float u, float v, out Vector3 result)

Parameters

a
First input Vector.
b
Second input Vector.
c
Third input Vector.
u
First Barycentric Coordinate.
v
Second Barycentric Coordinate.
result
Output Vector. a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CalculateAngle Method

Calculates the angle (in radians) between two vectors.

Syntax

public static float CalculateAngle (Vector3 first, Vector3 second)

Parameters

first
The first vector.
second
The second vector.

Returns

Angle (in radians) between the vectors.

Remarks

Note that the returned angle is never bigger than the constant Pi.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

CalculateAngle Method

Calculates the angle (in radians) between two vectors.

Syntax

public static void CalculateAngle (ref Vector3 first, ref Vector3 second, out float result)

Parameters

first
The first vector.
second
The second vector.
result
Angle (in radians) between the vectors.

Remarks

Note that the returned angle is never bigger than the constant Pi.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Clamp Method

Clamp a vector to the given minimum and maximum vectors

Syntax

public static Vector3 Clamp (Vector3 vec, Vector3 min, Vector3 max)

Parameters

vec
Input vector
min
Minimum vector
max
Maximum vector

Returns

The clamped vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Clamp Method

Clamp a vector to the given minimum and maximum vectors

Syntax

public static void Clamp (ref Vector3 vec, ref Vector3 min, ref Vector3 max, out Vector3 result)

Parameters

vec
Input vector
min
Minimum vector
max
Maximum vector
result
The clamped vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ClampedLerp Method

Returns a new Vector that is the linear blend of the 2 given Vectors

Syntax

public static Vector3 ClampedLerp (Vector3 a, Vector3 b, float blend)

Parameters

a
First input vector
b
Second input vector
blend
The blend factor. a when blend=0, b when blend=1.

Returns

a when blend=0, b when blend=1, and a linear combination otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ClampedLerp Method

Returns a new Vector that is the linear blend of the 2 given Vectors

Syntax

public static void ClampedLerp (ref Vector3 a, ref Vector3 b, float blend, out Vector3 result)

Parameters

a
First input vector
b
Second input vector
blend
The blend factor. a when blend=0, b when blend=1.
result
a when blend=0, b when blend=1, and a linear combination otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ComponentMax Method

Calculate the component-wise maximum of two vectors

Syntax

public static Vector3 ComponentMax (Vector3 a, Vector3 b)

Parameters

a
First operand
b
Second operand

Returns

The component-wise maximum

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ComponentMax Method

Calculate the component-wise maximum of two vectors

Syntax

public static void ComponentMax (ref Vector3 a, ref Vector3 b, out Vector3 result)

Parameters

a
First operand
b
Second operand
result
The component-wise maximum

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ComponentMin Method

Calculate the component-wise minimum of two vectors

Syntax

public static Vector3 ComponentMin (Vector3 a, Vector3 b)

Parameters

a
First operand
b
Second operand

Returns

The component-wise minimum

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ComponentMin Method

Calculate the component-wise minimum of two vectors

Syntax

public static void ComponentMin (ref Vector3 a, ref Vector3 b, out Vector3 result)

Parameters

a
First operand
b
Second operand
result
The component-wise minimum

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Cross Method

Caclulate the cross (vector) product of two vectors

Syntax

public static Vector3 Cross (Vector3 left, Vector3 right)

Parameters

left
First operand
right
Second operand

Returns

The cross product of the two inputs

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Cross Method

Caclulate the cross (vector) product of two vectors

Syntax

public static void Cross (ref Vector3 left, ref Vector3 right, out Vector3 result)

Parameters

left
First operand
right
Second operand
result
The cross product of the two inputs

Returns

The cross product of the two inputs

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Distance Method

Documentation for this section has not yet been entered.

Syntax

public static float Distance (Vector3 value1, Vector3 value2)

Parameters

value1
Documentation for this section has not yet been entered.
value2
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Distance Method

Documentation for this section has not yet been entered.

Syntax

public static void Distance (ref Vector3 value1, ref Vector3 value2, out float result)

Parameters

value1
Documentation for this section has not yet been entered.
value2
Documentation for this section has not yet been entered.
result
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DistanceSquared Method

Documentation for this section has not yet been entered.

Syntax

public static float DistanceSquared (Vector3 value1, Vector3 value2)

Parameters

value1
Documentation for this section has not yet been entered.
value2
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

DistanceSquared Method

Documentation for this section has not yet been entered.

Syntax

public static void DistanceSquared (ref Vector3 value1, ref Vector3 value2, out float result)

Parameters

value1
Documentation for this section has not yet been entered.
value2
Documentation for this section has not yet been entered.
result
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Div Method

Divide this instance by a scalar.

Syntax

[System.Obsolete("Use static Divide() method instead.")]
public void Div (float f)

Parameters

f
Scalar operand.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Div Method

Divide a vector by a scalar

Syntax

[System.Obsolete("Use static Divide() method instead.")]
public static Vector3 Div (Vector3 a, float f)

Parameters

a
Vector operand
f
Scalar operand

Returns

Result of the division

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Div Method

Divide a vector by a scalar

Syntax

[System.Obsolete("Use static Divide() method instead.")]
public static void Div (ref Vector3 a, float f, out Vector3 result)

Parameters

a
Vector operand
f
Scalar operand
result
Result of the division

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Divide Method

Divides a vector by the components of a vector (scale).

Syntax

public static Vector3 Divide (Vector3 vector, Vector3 scale)

Parameters

vector
Left operand.
scale
Right operand.

Returns

Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Divide Method

Divides a vector by a scalar.

Syntax

public static Vector3 Divide (Vector3 vector, float scale)

Parameters

vector
Left operand.
scale
Right operand.

Returns

Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Divide Method

Divide a vector by the components of a vector (scale).

Syntax

public static void Divide (ref Vector3 vector, ref Vector3 scale, out Vector3 result)

Parameters

vector
Left operand.
scale
Right operand.
result
Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Divide Method

Divides a vector by a scalar.

Syntax

public static void Divide (ref Vector3 vector, float scale, out Vector3 result)

Parameters

vector
Left operand.
scale
Right operand.
result
Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Dot Method

Calculate the dot (scalar) product of two vectors

Syntax

public static float Dot (Vector3 left, Vector3 right)

Parameters

left
First operand
right
Second operand

Returns

The dot product of the two inputs

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Dot Method

Calculate the dot (scalar) product of two vectors

Syntax

public static void Dot (ref Vector3 left, ref Vector3 right, out float result)

Parameters

left
First operand
right
Second operand
result
The dot product of the two inputs

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Down Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Down

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Equals Method

Indicates whether the current vector is equal to another vector.

Syntax

public bool Equals (Vector3 other)

Parameters

other
A vector to compare with this vector.

Returns

true if the current vector is equal to the vector parameter; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Equals Method

Indicates whether this instance and a specified object are equal.

Syntax

public override bool Equals (object obj)

Parameters

obj
The object to compare to.

Returns

True if the instances are equal; false otherwise.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Forward Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Forward

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

GetHashCode Method

Returns the hashcode for this instance.

Syntax

public override int GetHashCode ()

Returns

A System.Int32 containing the unique hashcode for this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

IsNaN Property

Return whether is NaN.

Syntax

public bool IsNaN { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Left Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Left

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Length Property

Gets the length (magnitude) of the vector.

Syntax

public float Length { get; }

See Also

Vector3.LengthSquared

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LengthFast Property

Gets an approximation of the vector length (magnitude).

Syntax

public float LengthFast { get; }

See Also

Vector3.LengthSquared

Value

Documentation for this section has not yet been entered.

Remarks

This property uses an approximation of the square root function to calculate vector magnitude, with an upper error bound of 0.001.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

LengthSquared Property

Gets the square of the vector length (magnitude).

Syntax

public float LengthSquared { get; }

See Also

Vector3.LengthFast

Value

Documentation for this section has not yet been entered.

Remarks

This property avoids the costly square root operation required by the Length property. This makes it more suitable for comparisons.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Lerp Method

Returns a new Vector that is the linear blend of the 2 given Vectors

Syntax

public static Vector3 Lerp (Vector3 a, Vector3 b, float blend)

Parameters

a
First input vector
b
Second input vector
blend
The blend factor. a when blend=0, b when blend=1.

Returns

a when blend=0, b when blend=1, and a linear combination otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Lerp Method

Returns a new Vector that is the linear blend of the 2 given Vectors

Syntax

public static void Lerp (ref Vector3 a, ref Vector3 b, float blend, out Vector3 result)

Parameters

a
First input vector
b
Second input vector
blend
The blend factor. a when blend=0, b when blend=1.
result
a when blend=0, b when blend=1, and a linear combination otherwise

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Max Method

Returns the Vector3 with the minimum magnitude

Syntax

public static Vector3 Max (Vector3 left, Vector3 right)

Parameters

left
Left operand
right
Right operand

Returns

The minimum Vector3

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Min Method

Returns the Vector3 with the minimum magnitude

Syntax

public static Vector3 Min (Vector3 left, Vector3 right)

Parameters

left
Left operand
right
Right operand

Returns

The minimum Vector3

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Mult Method

Multiply this instance by a scalar.

Syntax

[System.Obsolete("Use static Multiply() method instead.")]
public void Mult (float f)

Parameters

f
Scalar operand.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Mult Method

Multiply a vector and a scalar

Syntax

[System.Obsolete("Use static Multiply() method instead.")]
public static Vector3 Mult (Vector3 a, float f)

Parameters

a
Vector operand
f
Scalar operand

Returns

Result of the multiplication

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Mult Method

Multiply a vector and a scalar

Syntax

[System.Obsolete("Use static Multiply() method instead.")]
public static void Mult (ref Vector3 a, float f, out Vector3 result)

Parameters

a
Vector operand
f
Scalar operand
result
Result of the multiplication

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Multiply Method

Multiplies a vector by the components a vector (scale).

Syntax

public static Vector3 Multiply (Vector3 vector, Vector3 scale)

Parameters

vector
Left operand.
scale
Right operand.

Returns

Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Multiply Method

Multiplies a vector by a scalar.

Syntax

public static Vector3 Multiply (Vector3 vector, float scale)

Parameters

vector
Left operand.
scale
Right operand.

Returns

Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Multiply Method

Multiplies a vector by the components of a vector (scale).

Syntax

public static void Multiply (ref Vector3 vector, ref Vector3 scale, out Vector3 result)

Parameters

vector
Left operand.
scale
Right operand.
result
Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Multiply Method

Multiplies a vector by a scalar.

Syntax

public static void Multiply (ref Vector3 vector, float scale, out Vector3 result)

Parameters

vector
Left operand.
scale
Right operand.
result
Result of the operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Normalize Method

Scales the Vector3 to unit length.

Syntax

public void Normalize ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Normalize Method

Scale a vector to unit length

Syntax

public static Vector3 Normalize (Vector3 vec)

Parameters

vec
The input vector

Returns

The normalized vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Normalize Method

Scale a vector to unit length

Syntax

public static void Normalize (ref Vector3 vec, out Vector3 result)

Parameters

vec
The input vector
result
The normalized vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NormalizeFast Method

Scales the Vector3 to approximately unit length.

Syntax

public void NormalizeFast ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NormalizeFast Method

Scale a vector to approximately unit length

Syntax

public static Vector3 NormalizeFast (Vector3 vec)

Parameters

vec
The input vector

Returns

The normalized vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

NormalizeFast Method

Scale a vector to approximately unit length

Syntax

public static void NormalizeFast (ref Vector3 vec, out Vector3 result)

Parameters

vec
The input vector
result
The normalized vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

One Field

Defines an instance with all components set to 1.

Syntax

public static readonly Vector3 One

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Addition Method

Adds two instances.

Syntax

public static Vector3 operator+ (Vector3 left, Vector3 right)

Parameters

left
The first instance.
right
The second instance.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Division Method

Divides an instance by a scalar.

Syntax

public static Vector3 operator/ (Vector3 vec, float scale)

Parameters

vec
The instance.
scale
The scalar.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Equality Method

Compares two instances for equality.

Syntax

public static bool operator== (Vector3 left, Vector3 right)

Parameters

left
The first instance.
right
The second instance.

Returns

True, if left equals right; false otherwise.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Inequality Method

Compares two instances for inequality.

Syntax

public static bool operator!= (Vector3 left, Vector3 right)

Parameters

left
The first instance.
right
The second instance.

Returns

True, if left does not equa lright; false otherwise.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Multiply Method

Documentation for this section has not yet been entered.

Syntax

public static Vector3 operator* (Vector3 value1, Vector3 value2)

Parameters

value1
Documentation for this section has not yet been entered.
value2
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Multiply Method

Multiplies an instance by a scalar.

Syntax

public static Vector3 operator* (Vector3 vec, float scale)

Parameters

vec
The instance.
scale
The scalar.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Multiply Method

Multiplies an instance by a scalar.

Syntax

public static Vector3 operator* (float scale, Vector3 vec)

Parameters

scale
The scalar.
vec
The instance.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_Subtraction Method

Subtracts two instances.

Syntax

public static Vector3 operator- (Vector3 left, Vector3 right)

Parameters

left
The first instance.
right
The second instance.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

op_UnaryNegation Method

Negates an instance.

Syntax

public static Vector3 operator- (Vector3 vec)

Parameters

vec
The instance.

Returns

The result of the calculation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Right Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Right

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Scale Method

Scales this instance by the given parameter.

Syntax

[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (Vector3 scale)

Parameters

scale
The scaling of the individual components.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Scale Method

Scales this instance by the given parameter.

Syntax

[System.CLSCompliant(false)]
[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (ref Vector3 scale)

Parameters

scale
The scaling of the individual components.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Scale Method

Scales the current Vector3 by the given amounts.

Syntax

[System.Obsolete("Use static Multiply() method instead.")]
public void Scale (float sx, float sy, float sz)

Parameters

sx
The scale of the X component.
sy
The scale of the Y component.
sz
The scale of the Z component.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

SizeInBytes Field

Defines the size of the Vector3 struct in bytes.

Syntax

public static readonly int SizeInBytes

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Sub Method

Subtract the Vector passed as parameter from this instance.

Syntax

[System.Obsolete("Use static Subtract() method instead.")]
public void Sub (Vector3 right)

Parameters

right
Right operand. This parameter is only read from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Sub Method

Subtract the Vector passed as parameter from this instance.

Syntax

[System.CLSCompliant(false)]
[System.Obsolete("Use static Subtract() method instead.")]
public void Sub (ref Vector3 right)

Parameters

right
Right operand. This parameter is only read from.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Sub Method

Subtract one Vector from another

Syntax

[System.Obsolete("Use static Subtract() method instead.")]
public static Vector3 Sub (Vector3 a, Vector3 b)

Parameters

a
First operand
b
Second operand

Returns

Result of subtraction

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Sub Method

Subtract one Vector from another

Syntax

[System.Obsolete("Use static Subtract() method instead.")]
public static void Sub (ref Vector3 a, ref Vector3 b, out Vector3 result)

Parameters

a
First operand
b
Second operand
result
Result of subtraction

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Subtract Method

Subtract one Vector from another

Syntax

public static Vector3 Subtract (Vector3 a, Vector3 b)

Parameters

a
First operand
b
Second operand

Returns

Result of subtraction

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Subtract Method

Subtract one Vector from another

Syntax

public static void Subtract (ref Vector3 a, ref Vector3 b, out Vector3 result)

Parameters

a
First operand
b
Second operand
result
Result of subtraction

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

ToString Method

Returns a System.String that represents the current Vector3.

Syntax

public override string ToString ()

Returns

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Transform Method

Transform a Vector by the given Matrix

Syntax

public static Vector4 Transform (Vector3 vec, Matrix4 mat)

Parameters

vec
The vector to transform
mat
The desired transformation

Returns

The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Transform Method

Transform a Vector by the given Matrix

Syntax

public static void Transform (ref Vector3 vec, ref Matrix4 mat, out Vector4 result)

Parameters

vec
The vector to transform
mat
The desired transformation
result
The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformNormal Method

Transform a Normal by the given Matrix

Syntax

public static Vector3 TransformNormal (Vector3 norm, Matrix4 mat)

Parameters

norm
The normal to transform
mat
The desired transformation

Returns

The transformed normal

Remarks

This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformNormal Method

Transform a Normal by the given Matrix

Syntax

public static void TransformNormal (ref Vector3 norm, ref Matrix4 mat, out Vector3 result)

Parameters

norm
The normal to transform
mat
The desired transformation
result
The transformed normal

Remarks

This calculates the inverse of the given matrix, use TransformNormalInverse if you already have the inverse to avoid this extra calculation

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformNormalInverse Method

Transform a Normal by the (transpose of the) given Matrix

Syntax

public static Vector3 TransformNormalInverse (Vector3 norm, Matrix4 invMat)

Parameters

norm
The normal to transform
invMat
The inverse of the desired transformation

Returns

The transformed normal

Remarks

This version doesn't calculate the inverse matrix. Use this version if you already have the inverse of the desired transform to hand

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformNormalInverse Method

Transform a Normal by the (transpose of the) given Matrix

Syntax

public static void TransformNormalInverse (ref Vector3 norm, ref Matrix4 invMat, out Vector3 result)

Parameters

norm
The normal to transform
invMat
The inverse of the desired transformation
result
The transformed normal

Remarks

This version doesn't calculate the inverse matrix. Use this version if you already have the inverse of the desired transform to hand

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformPerspective Method

Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3

Syntax

public static Vector3 TransformPerspective (Vector3 vec, Matrix4 mat)

Parameters

vec
The vector to transform
mat
The desired transformation

Returns

The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformPerspective Method

Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3

Syntax

public static void TransformPerspective (ref Vector3 vec, ref Matrix4 mat, out Vector3 result)

Parameters

vec
The vector to transform
mat
The desired transformation
result
The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformPosition Method

Transform a Position by the given Matrix

Syntax

public static Vector3 TransformPosition (Vector3 pos, Matrix4 mat)

Parameters

pos
The position to transform
mat
The desired transformation

Returns

The transformed position

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformPosition Method

Transform a Position by the given Matrix

Syntax

public static void TransformPosition (ref Vector3 pos, ref Matrix4 mat, out Vector3 result)

Parameters

pos
The position to transform
mat
The desired transformation
result
The transformed position

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformVector Method

Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.

Syntax

public static Vector3 TransformVector (Vector3 vec, Matrix4 mat)

Parameters

vec
The vector to transform
mat
The desired transformation

Returns

The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

TransformVector Method

Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored.

Syntax

public static void TransformVector (ref Vector3 vec, ref Matrix4 mat, out Vector3 result)

Parameters

vec
The vector to transform
mat
The desired transformation
result
The transformed vector

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UnitX Field

Defines a unit-length Vector3 that points towards the X-axis.

Syntax

public static readonly Vector3 UnitX

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UnitY Field

Defines a unit-length Vector3 that points towards the Y-axis.

Syntax

public static readonly Vector3 UnitY

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

UnitZ Field

/// Defines a unit-length Vector3 that points towards the Z-axis.

Syntax

public static readonly Vector3 UnitZ

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Up Field

Documentation for this section has not yet been entered.

Syntax

public static readonly Vector3 Up

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

X Field

The X component of the Vector3.

Syntax

public float X

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Xy Property

Gets or sets an OpenTK.Vector2 with the X and Y components of this instance.

Syntax

public Vector2 Xy { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Y Field

The Y component of the Vector3.

Syntax

public float Y

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Z Field

The Z component of the Vector3.

Syntax

public float Z

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0

Zero Field

Defines a zero-length Vector3.

Syntax

public static readonly Vector3 Zero

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: AtomicEngine
Assembly: AtomicNET (in AtomicNET.dll)
Assembly Versions: 1.0.0.0