Properties  Methods  Events

ICameraController Interface Members

The following tables list the members exposed by ICameraController.

Public Properties
 NameDescription
 PropertyGets or sets the Aspect Ratio of the viewport, e.g. 1.333f suggests width is 1.333 * height  
 PropertyGets or sets the Name or ID of the camera. Does not need to be unique, but can be used by the user to identify a camera  
 PropertyGets or sets the Far Clipping distance of the camera. Objects farther than this distance will be invisible to the camera  
 PropertyGets or sets the Field of View Angle of the Camera in Degrees  
 PropertyCalculated Property: Gets the Normalized Forward (direction) Vector of the Camera as an XYZ Vector3 in World Coordinates  
 PropertyINTERNAL USE ONLY: Gets or sets whether this camera is attached to the viewport  
 PropertyGets a value indicating whether updates for the target are currently suspended (Inherited from SciChart.Core.Framework.ISuspendable)
 PropertyGets or sets the Near Clipping distance of the camera. Objects closer than this distance will be invisible to the camera  
 PropertyGets or sets the Pitch angle of the camera position relative to the target in DEGREES. This property may be manipulated to change the camera position  
 PropertyGets or sets the Yaw angle of the camera position relative to the target in DEGREES. This property may be manipulated to change the camera position  
 PropertyGets or sets the Camera Orthogonal Viewport height, used when ProjectionMode is Orthogonal  
 PropertyGets or sets the Camera Orthogonal Viewport width, used when ProjectionMode is Orthogonal  
 PropertyGets or sets the Position of the Camera as an XYZ Vector3 in World Coordinates  
 PropertyGets or sets the Camera projection mode, e.g. perspective or orthogonal  
 PropertyCalculated Property: Gets or sets the Radius distance of the camera to target in World Units. This property may be manipulated to change the camera position  
 PropertyCalculated Property: Gets the Normalized Side Vector of the Camera as an XYZ Vector3 in World Coordinates  
 PropertyGets or sets the Target of the Camera as an XYZ Vector3 in World Coordinates  
 PropertyCalculated Property: Gets the Normalized Up Vector of the Camera as an XYZ Vector3 in World Coordinates  
 PropertyCalculated Property: Gets the Normalized Global Up Vector equal to Vector3(0,1,0) in LH Coordinate system  
 PropertyWhen true, the Camera is zoomed to fit the parent SciChart3DSurface scene bounds on attached  
Top
Public Methods
 NameDescription
 MethodINTERNAL USE: Attaches the camera to the viewport  
 MethodCalculates a Camera target and radius that will fit the bounding box completely inside the viewport. Uses a simple bounding-sphere algorithm  
 MethodCalled by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, ResumeUpdates is called (Inherited from SciChart.Core.Framework.ISuspendable)
 MethodConverts the Vector3 in world space to a 2D screen coordinate, using the current View and Projection matrices  
 MethodResets the camera to default position, target and orientation  
 MethodResumes updates on the target, intended to be called by IUpdateSuspender (Inherited from SciChart.Core.Framework.ISuspendable)
 MethodSuspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued (Inherited from SciChart.Core.Framework.ISuspendable)
 MethodSwitches the camera to Orthogonal mode  
 MethodSwitches the camera to Perspective mode  
 MethodConverts the Vector3 in world space to a 2D screen coordinate, using the current View and Projection matrices  
Top
Public Events
 NameDescription
 EventEvent raised whenever the Camera properties are updated and the parent requires a redraw  
Top
See Also