Struct CameraState.CustomBlendable
Opaque structure represent extra blendable stuff and its weight. The base system ignores this data - it is intended for extension modules
Namespace: Cinemachine
Syntax
public struct CustomBlendable
Constructors
CustomBlendable(Object, Single)
Constructor with specific values
Declaration
public CustomBlendable(Object custom, float weight)
Parameters
Type | Name | Description |
---|---|---|
Object | custom | The custom stuff that the extension module will consider |
System.Single | weight | The weight of the custom stuff. Must be 0...1 |
Fields
m_Custom
The custom stuff that the extension module will consider
Declaration
public Object m_Custom
Field Value
Type | Description |
---|---|
Object |
m_Weight
The weight of the custom stuff. Must be 0...1
Declaration
public float m_Weight
Field Value
Type | Description |
---|---|
System.Single |