Class CinemachineFreeLookModifier.ComponentModifier<T>
Modifier for things inside a single CinemachineComponentBase.
Inheritance
CinemachineFreeLookModifier.ComponentModifier<T>
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
public abstract class CinemachineFreeLookModifier.ComponentModifier<T> : CinemachineFreeLookModifier.Modifier
Type Parameters
Name | Description |
---|---|
T | The type of the thing for which this a modifier. |
Fields
CachedComponent
The CinemachineComponentBase that will be modified. Cached here for efficiency.
Declaration
protected T CachedComponent
Field Value
Type | Description |
---|---|
T |
Properties
CachedComponentType
The type of the component being modified
Declaration
public override Type CachedComponentType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
HasRequiredComponent
True if the CinemachineCamera has the component we intend to modify.
Declaration
public override bool HasRequiredComponent { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
RefreshCache(CinemachineVirtualCameraBase)
Called from OnEnable and from the inspector. Refreshes CachedComponent.
Declaration
public override void RefreshCache(CinemachineVirtualCameraBase vcam)
Parameters
Type | Name | Description |
---|---|---|
CinemachineVirtualCameraBase | vcam | the virtual camera owner |