Click or drag to resize

Vector4 Structure

The Vector4 structure represents a 4-dimensional vector.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public struct Vector4

The Vector4 type exposes the following members.

Constructors
  NameDescription
Public methodVector4
Initializes a new instance of the Vector4 structure with x, y, z and w coordinates.
Top
Properties
  NameDescription
Public propertyInversed
Gets the inversed vector.
Public propertyLength
Gets the length of the vector.
Public propertyNegated
Gets the negated vector.
Public propertyNormalized
Gets the normalized vector.
Public propertyProjected
Gets the projected vector. X, Y and Z coordinates are divided by the W coordinate.
Public propertySquare
Gets the square length of the vector.
Top
Methods
  NameDescription
Public methodAdd
Add a vector to the vector.
Public methodClamp
Clamps the vector components between a minimum and a maximum values.
Public methodDivide(Single)
Divide the vector by a scalar.
Public methodDivide(Vector4)
Divide the vector by a vector.
Public methodDotProduct
Computes the dot product of the two vectors.
Public methodEqual
Tells if the two vector are equals.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMaximum
Gets the maximum vector values of the two vectors.
Public methodMinimum
Gets the minimum vector values of the two vectors.
Public methodMultiply(Single)
Multiply the vector by a scalar.
Public methodMultiply(Vector4)
Multiply the vector by a vector.
Public methodSubstract
Subtract a vector to the vector.
Public methodToString
Format the Vector4 to a String.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Add operator between two vectors.
Public operatorStatic memberBitwiseOr
Components divide operator between the two vectors.
Public operatorStatic memberDivision
Divide operator between a vector and a scalar.
Public operatorStatic memberEquality
Equal operator between the two vectors.
Public operatorStatic memberGreaterThan
Greater than operator between the two vectors.
Public operatorStatic memberInequality
Difference operator between the two vectors.
Public operatorStatic memberLessThan
Less than operator between the two vectors.
Public operatorStatic memberModulus
Components multiply operator between the two vectors.
Public operatorStatic memberMultiply(Single, Vector4)
Multiply operator between a scalar and a vector.
Public operatorStatic memberMultiply(Vector4, Vector4)
Dot product operator between the two vectors.
Public operatorStatic memberMultiply(Vector4, Single)
Multiply operator between a vector and a scalar.
Public operatorStatic memberOnesComplement
Normalize operator.
Public operatorStatic memberSubtraction
Subtract operator between the two vectors.
Public operatorStatic memberUnaryNegation
Negate operator.
Public operatorStatic memberUnaryPlus
Plus operator.
Top
Fields
  NameDescription
Public fieldStatic memberOne
The one vector.
Public fieldW
Gets or sets the w-coordinate.
Public fieldStatic memberWAxis
The w-axis vector.
Public fieldX
Gets or sets the x-coordinate.
Public fieldStatic memberXAxis
The x-axis vector.
Public fieldY
Gets or sets the y-coordinate.
Public fieldStatic memberYAxis
The y-axis vector.
Public fieldZ
Gets or sets the z-coordinate.
Public fieldStatic memberZAxis
The z-axis vector.
Public fieldStatic memberZero
The zero vector.
Top
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also