Click or drag to resize

Camera Methods

The Camera type exposes the following members.

Methods
  NameDescription
Public methodGetAxes
Get the rotation axes including the HeadYawPitchRoll offset.
Public methodGetBodyAxes
Get the rotation axes excluding the HeadYawPitchRoll offset.
Public methodGetBodyMatrix
Get the orientation of the camera body without the HeadYawPitchRoll offset.
Public methodGetMatrix
Get the matrix to position the camera.
Public methodPan
Move the camera perpendicular to the camera/target vector.
Public methodRotate
Rotate the camera position keeping the target at the center.
Public methodSetFromVisual
Place the camera at the same position and orientation as the visual (looking down its positive Z axis).
Public methodToString
String version of the camera position.
(Overrides SimpleCustomTypeDescriptor.ToString.)
Public methodWalk
Move camera and target/focus around in the X/Z plane as if walking.
Public methodZoom
Get closer or further away from the target.
Public methodZoomAlong
Get closer along an axis towards a world location.
Top
See Also