Camera Class |
Namespace: Demo3D.Visuals
[TypeConverterAttribute(typeof(ExpandableObjectConverter))] public class Camera : ICloneable
The Camera type exposes the following members.
| Name | Description | |
|---|---|---|
| HeadTarget |
Calculate the head target given the HeadYawPitchRoll offset for VR.
| |
| HeadYawPitchRoll |
Camera rotation offset useful for VR headsets (in radians).
| |
| PlanView | ||
| Position |
The Camera Position in X,Y,Z coordinates, looking at the origin.
| |
| Rotation |
Calculate the current rotation of the camera.
| |
| Target |
The Camera Translation in X,Y,Z coordinates away from origin.
|
| Name | Description | |
|---|---|---|
| Clone |
Copy of the camera.
| |
| GetAxes |
Get the rotation axes including the HeadYawPitchRoll offset.
| |
| GetBodyAxes |
Get the rotation axes excluding the HeadYawPitchRoll offset.
| |
| GetBodyMatrix |
Get the orientation of the camera body without the HeadYawPitchRoll offset.
| |
| GetMatrix |
Get the matrix to position the camera.
| |
| Pan |
Move the camera perpendicular to the camera/target vector.
| |
| Rotate |
Rotate the camera position keeping the target at the center.
| |
| SetFromVisual |
Place the camera at the same position and orientation as the visual (looking down its positive Z axis).
| |
| ToString |
String version of the camera position.
(Overrides ObjectToString.) | |
| Walk |
Move camera and target/focus around in the X/Z plane as if walking.
| |
| Zoom |
Get closer or further away from the target.
| |
| ZoomAlong |
Get closer along an axis towards a world location.
|