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 |
|---|---|---|
| Single | h | Orbit height |
| Single | r | Orbit radius |
Fields
m_Height
Height relative to target
Declaration
public float m_Height
Field Value
| Type | Description |
|---|---|
| Single |
m_Radius
Radius of orbit
Declaration
public float m_Radius
Field Value
| Type | Description |
|---|---|
| Single |