ComponentOne Bitmap for UWP
WorldRef Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : WorldRef Method
The world matrix.
The position of the object (used in translation operations).
The forward direction of the object.
The upward direction of the object. Its value is usually [0, 1, 0].
Creates a world matrix with the specified parameters.
Syntax
'Declaration
 
Public Shared Sub WorldRef( _
   ByRef result As Matrix4x4, _
   ByRef position As Vector3, _
   ByRef forward As Vector3, _
   ByRef up As Vector3 _
) 
public static void WorldRef( 
   out Matrix4x4 result,
   ref Vector3 position,
   ref Vector3 forward,
   ref Vector3 up
)

Parameters

result
The world matrix.
position
The position of the object (used in translation operations).
forward
The forward direction of the object.
up
The upward direction of the object. Its value is usually [0, 1, 0].

Return Value

The world matrix.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members