SetView(Vector3D,Vector3D,Boolean,Boolean,Int32,Boolean) Method
In This Topic
Sets the view direction of the camera to the specified direction.
Syntax
'Declaration
Public Overloads Sub SetView( _
ByVal As Vector3D, _
ByVal As Vector3D, _
ByVal As Boolean, _
ByVal As Boolean, _
Optional ByVal As Integer, _
Optional ByVal As Boolean _
)
public void SetView(
Vector3D ,
Vector3D ,
bool ,
bool ,
int ,
bool
)
Parameters
- direction
- The new camera direction.
- upVector
- The camera up vector
- fit
- if true fits the scene in the viewport
- animate
- If true performs an animation when changing the view
- margin
- Pixels margin from the border, if is true
- selectedOnly
- If is true, fits only the selected entities
See Also