Show / Hide Table of Contents

Class CameraConfiguration

Class that unites the settings for the snapshot camera

Inheritance
Object
CameraConfiguration
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: VISABConnector.Unity
Assembly: VISABConnector.Unity.dll
Syntax
public class CameraConfiguration

Properties

| Improve this Doc View Source

CameraOffset

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Orthographic

In case you want to switch between 'perspective' view and 'orthographic' view

Declaration
public bool Orthographic { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

UseAbsoluteOffset

Uses the absolute offset without considering the game objects bounds

Declaration
public bool UseAbsoluteOffset { get; set; }
Property Value
Type Description
Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX