Stereoscopic |
public class StereoscopicCamera : ICamera
The StereoscopicCamera type exposes the following members.
Name | Description | |
---|---|---|
StereoscopicCamera | Constructor |
Name | Description | |
---|---|---|
AspectRatio | Gets or sets an AspectRatio property of the OriginalCamera. | |
CurrentEye | Gets or sets the current eye for the camera. | |
EyeSeparation | Gets or sets a distance between left and right eye. The distance is specified in the same coordinate system as the camera. When rendering, the camera is first shifter to the left for the half of the EyeSeparation distance. Then the whole scene is rendered. The the camera is shifter to the right for half of the EyeSeparation distance. The best value for EyeSeparation is based on the size of objects in the scene, the size of the Viewport3D, monitor DPI settings and the actual distance between eyes of the user. | |
FarPlaneDistance | Gets or sets a FarPlaneDistance property of the OriginalCamera. | |
InvertLeftRightView | Gets or sets a Boolean that specifies if positions of the eyes are inverted. | |
NearPlaneDistance | Gets or sets a NearPlaneDistance property of the OriginalCamera. | |
OriginalCamera | Gets the camera that is used to create the StereoscopicCamera. The original camera is located in the middle between left and right eye. | |
Parallax | Parallax defines a value in degrees that specifies an angle of the left and right eye look direction. If the parallax is zero, then the look directions of left and right cameras are parallel. If parallax is bigger then zero, then the left and right look directions are pointed to each other and they cross at some position in front of the camera (the bigger the angle the closer the crossing point). Usually the best 3D effect is producted when the parallax is set so that the look directions cross at the center of the scene - look directions of human eyes cross at the point of focus. | |
ParentDXScene | Gets or sets a ParentDXScene property of the OriginalCamera. | |
ParentSceneNode | Gets a ParentSceneNode property of the OriginalCamera. | |
Projection | Gets a Projection matrix for the current eye. | |
ProjectionType | Gets a ProjectionType property of the OriginalCamera. | |
View | Gets a View matrix for the current eye. |
Name | Description | |
---|---|---|
GetCameraPosition | Returns eye position for the current eye. | |
GetViewProjection | Gets a precalculated View * Projection matrix. | |
GetWorldViewProjection | Returns WorldViewProjection matrix. Calculating this matrix is faster inside Camera because here we can access matrixes by reference. | |
Update | Update method updates the camera matrices when needed (when there were any change in the camera properties) or when forceMatrixUpdate is set to true. |
Name | Description | |
---|---|---|
CameraChanged | CameraChanged event of the OriginalCamera. |