ViewCubeIcon.GetProjectionMatrix Method
Protected Overridable Function GetProjectionMatrix( _
ByVal data As DrawSceneParams, _
ByVal dist As Double _
) As Double()
This language is not supported or no code example is available.
Parameters
- data
- DrawSceneParams
The draw data
- dist
- double
The distance of the camera from the viewcube
Return Value
double[]The projection matrix
Override to set an orthographic projection.
Set an orthographic projection.
return Camera.myOrtho(myParams.RenderContext, -80, 80, -80, 80, dist - 150, dist + 150);
This language is not supported or no code example is available.