Click or drag to resize

Camera3D Methods

LightningChart .NET Help

The Camera3D type exposes the following members.

Methods
  NameDescription
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodDistanceToOrthographicViewArea
Converts view distance value into a orthographic view area. Used for building projection matrix.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFarClipDistance
Getter of the far clipping distance for the 3D projection. This is an advanced setting that is not supported in normal use and should not be modified.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocationAs3DWorldCoord
Gets camera location in 3D world space.
Public methodGetNearClipDistance
Getter of the near clipping distance for the 3D projection. This is an advanced setting that is not supported in normal use and should not be modified.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLockPointerDeviceHorizRotationAxis
Locks user pointer device (mouse etc) based rotation to use current camera orientation settings for rotation axis. This affects the way horizontal rotation behaves on certain OrientationModes values.

This has no effect when OrientationMode is XYZ_Mixed.

This method is intended mostly as internal operation of LC. It's run when RotationX, RotationY or RotationZ properties are changed, causing horizontal rotation axis to be locked based on the current rotation settings. The method has been left as public for special cases, where users need to make the same operation without modifying the rotation parameters.

Public methodOrthographicViewAreaToDistance(SizeFloat)
Converts orthographic view's area into a view distance value.
Public methodStatic memberOrthographicViewAreaToDistance(SizeFloat, Double, Double)
Converts orthographic view's area into a view distance value.
Public methodSetEulerAngles
Same as setting RotationX, RotationY and RotationZ properties separately. Allows easier setting of the properties and is faster than separate setting of the properties.
Public methodSetFarClipDistance
Setter of the far clipping distance for the 3D projection. This is an advanced setting that is not supported in normal use and should not be modified.
Public methodSetNearClipDistance
Setter of the near clipping distance for the 3D projection. This is an advanced setting that is not supported in normal use and should not be modified.
Public methodSetPredefinedCamera
Sets camera orientation angles to values based given predefined orientation setting.
Public methodToString
Convert class description to string
(Overrides ObjectToString.)
Top
See Also