SetViewPlane(Vector3,Vector3,Vector3,Single) Method
In This Topic
Set the view plane for the image, based on centre of the plane, the direction of view, and the "Up" direction.
Syntax
'Declaration
Overloads Sub SetViewPlane( _
ByVal As OpenTK.Mathematics.Vector3, _
ByVal As OpenTK.Mathematics.Vector3, _
ByVal As OpenTK.Mathematics.Vector3, _
ByVal As Single _
)
'Usage
Dim instance As IProjection
Dim Centre As OpenTK.Mathematics.Vector3
Dim Normal As OpenTK.Mathematics.Vector3
Dim Up As OpenTK.Mathematics.Vector3
Dim Zoom As Single
instance.SetViewPlane(Centre, Normal, Up, Zoom)
void SetViewPlane(
OpenTK.Mathematics.Vector3 ,
OpenTK.Mathematics.Vector3 ,
OpenTK.Mathematics.Vector3 ,
float
)
void SetViewPlane(
OpenTK.Mathematics.Vector3 ,
OpenTK.Mathematics.Vector3 ,
OpenTK.Mathematics.Vector3 ,
float
)
Parameters
- Centre
- The coordinates of the centre of the plane
- Normal
- A vector defining the direction of view
- Up
- The direction to be "up" in the resulting view.
- Zoom
- The zoom factor to use - see notes in remarks
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also