Click or drag to resize

UtilsToProjection(dvec3, CartesianAxis) Method

Returns the two dimensional projection of the tree dimensional vector.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public static dvec2 ToProjection(
	this dvec3 value,
	CartesianAxis projection
)

Parameters

value  dvec3
Vector to project.
projection  CartesianAxis
Projection.

Return Value

dvec2
Two dimensional projection of the tree dimensional vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type dvec3. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also