﻿Vector4D Operators and Type Conversions  # Vector4D Operators and Type Conversions

The Vector4D type exposes the following members. Operators
NameDescription  Addition  Division
Divides a vector by a number.  Equality
Compares two vectors for equality.  GreaterThan
Compares the lengths of two vectors.  GreaterThanOrEqual
Compares the lengths of two vectors.  (Quaternion to Vector4D)
Converts the specified Unity Quaternion into its equivalent 4D vector.  (Vector4 to Vector4D)
Converts the specified Unity Vector4 into its equivalent 4D vector.  (Vector2D to Vector4D)
Converts the specified 2D vector into its equivalent 4D vector.  (Vector3D to Vector4D)
Converts the specified 3D vector into its equivalent 4D vector.  (Vector4D to Vector4)
Converts the specified 4D vector into its equivalent Unity Vector4.  (Vector4D to Quaternion)
Converts the specified 4D vector into its equivalent Unity Quaternion.  Inequality
Compares two vectors for inequality.  LessThan
Compares the lengths of two vectors.  LessThanOrEqual
Compares the lengths of two vectors.  Multiply(Single, Vector4D)
Multiplies a number by a vector.  Multiply(Vector4D, Vector3D)
Multiplies a 4D vector by 3D point.  Multiply(Vector4D, Vector4D)
Multiplies a vector by another one.  Multiply(Vector4D, Single)
Multiplies a vector by a number.  Subtraction
Subtracts one vector from another.  UnaryNegation
Negates a vector.
Top See Also