Struct CinemachineFreeLook.Orbit
Defines the height and radius of the Rig orbit
Namespace: Cinemachine
Syntax
[Serializable]
public struct Orbit
Constructors
Orbit(Single, Single)
Constructor with specific values
Declaration
public Orbit(float h, float r)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | h | |
| System.Single | r |
Fields
m_Height
Height relative to target
Declaration
public float m_Height
Field Value
| Type | Description |
|---|---|
| System.Single |
m_Radius
Radius of orbit
Declaration
public float m_Radius
Field Value
| Type | Description |
|---|---|
| System.Single |