Class TMPSceneOffsetProvider
- Namespace
- TMPEffects.Parameters
public abstract class TMPSceneOffsetProvider : MonoBehaviour, ITMPOffsetProvider- Inheritance
- 
      
      TMPSceneOffsetProvider
- Implements
Methods
GetMinMaxOffset(out float, out float, ITMPSegmentData, IAnimatorDataProvider, bool)
Get the minimum / maximum offset for the given segment.
public abstract void GetMinMaxOffset(out float min, out float max, ITMPSegmentData segmentData, IAnimatorDataProvider animatorData, bool ignoreAnimatorScaling = false)Parameters
- minfloat
- The output parameter that will contain the minimum offset. 
- maxfloat
- The output parameter that will contain the maximum offset. 
- segmentDataITMPSegmentData
- The relevant segment data. 
- animatorDataIAnimatorDataProvider
- The relevant animator data. 
- ignoreAnimatorScalingbool
- Whether to ignore the animator's scaling. 
GetOffset(CharData, ITMPSegmentData, IAnimatorDataProvider, bool)
Get a timing offset for the given character.
public abstract float GetOffset(CharData cData, ITMPSegmentData segmentData, IAnimatorDataProvider animatorData, bool ignoreAnimatorScaling = false)Parameters
- cDataCharData
- The character to get an offset for. 
- segmentDataITMPSegmentData
- The relevant segment data. 
- animatorDataIAnimatorDataProvider
- The relevant animator data. 
- ignoreAnimatorScalingbool
- Whether to ignore the animator's scaling.