VectorGetUnitVector Method |
Used to get the unit vector for the current vector. The unit
vector should have no component greater than 1.
Namespace: Terrarium.Sdk.Classes.HelpersAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic Vector GetUnitVector()
Public Function GetUnitVector As Vector
public:
Vector^ GetUnitVector()
member GetUnitVector : unit -> Vector
Return Value
Type:
Vector
Vector representing the unit vector of the current vector.
See Also