Class CameraConfiguration
Class that unites the settings for the snapshot camera
Inherited Members
Namespace: VISABConnector.Unity
Assembly: VISABConnector.Unity.dll
Syntax
public class CameraConfiguration
Properties
| Improve this Doc View SourceCameraOffset
If you want to adjust the distance between the camera and the object to be captured use this property
Declaration
public float CameraOffset { get; set; }
Property Value
Type | Description |
---|---|
Single |
CameraRotation
If you want to adjust the camera's rotation use this property
Declaration
public Vector3 CameraRotation { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Orthographic
In case you want to switch between 'perspective' view and 'orthographic' view
Declaration
public bool Orthographic { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
OrthographicSize
In case 'orthographic' is true, one may need to adjust the camera's panel size
Declaration
public float OrthographicSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
UseAbsoluteOffset
Uses the absolute offset without considering the game objects bounds
Declaration
public bool UseAbsoluteOffset { get; set; }
Property Value
Type | Description |
---|---|
Boolean |