UtilsProjectRotation Method |
Returns the rotation value for the provided axes.
Note: Returns -y for
Y, as the XZ axis is a rotation around -Y axis.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntaxpublic static double ProjectRotation(
this dvec3 value,
CartesianAxis projection
)
Parameters
- value dvec3
- projection CartesianAxis
Return Value
Double[Missing <returns> documentation for "M:RAYLASE.Marker.VectorGraphicElement.Utils.ProjectRotation(GlmSharp.dvec3,RAYLASE.Marker.Common.CartesianAxis)"]
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