Description
The OrthoWidth
property of the SceneCamera
class is marked as obsolete and is no longer used. It was intended to represent the width of the orthographic projection when the camera was set to orthographic mode. However, this property is now deprecated and should not be used in new code.
Usage
Since OrthoWidth
is obsolete, it is recommended to avoid using this property in your code. Instead, consider using other properties or methods that are currently supported for configuring the camera's orthographic settings.
Example
// Example: Avoid using the obsolete OrthoWidth property
// SceneCamera camera = new SceneCamera();
// float width = camera.OrthoWidth; // This is obsolete and should not be used
// Instead, use other properties or methods to configure the camera
// Example: camera.OrthoHeight = 10.0f; // Set the orthographic height if needed