This class will let you create and save a .curves asset in the specified path This asset will include curves (anti or not) from the MMTween library, to use anywhere animation curves are required
More...
This class will let you create and save a .curves asset in the specified path This asset will include curves (anti or not) from the MMTween library, to use anywhere animation curves are required
◆ CreateAnimationCurve()
| virtual void MoreMountains.Tools.MMAnimationCurveGenerator.CreateAnimationCurve |
( |
ScriptableObject |
asset, |
|
|
MMTween.MMTweenCurve |
curveType, |
|
|
int |
curveResolution, |
|
|
bool |
anti |
|
) |
| |
|
protectedvirtual |
Creates an animation curve of the specified type and resolution, and adds it to the specified asset
- Parameters
-
| asset | |
| curveType | |
| curveResolution | |
| anti | |
◆ GenerateAnimationCurvesAsset()
| virtual void MoreMountains.Tools.MMAnimationCurveGenerator.GenerateAnimationCurvesAsset |
( |
| ) |
|
|
virtual |
Generates the asset and saves it at the requested path
◆ _addMethodInfo
| MethodInfo MoreMountains.Tools.MMAnimationCurveGenerator._addMethodInfo |
|
protected |
◆ _keyframe
| Keyframe MoreMountains.Tools.MMAnimationCurveGenerator._keyframe = new Keyframe() |
|
protected |
◆ _parameters
| object [] MoreMountains.Tools.MMAnimationCurveGenerator._parameters |
|
protected |
◆ _scriptableObjectType
| Type MoreMountains.Tools.MMAnimationCurveGenerator._scriptableObjectType |
|
protected |
◆ AnimationCurveFileName
| string MoreMountains.Tools.MMAnimationCurveGenerator.AnimationCurveFileName = "MMCurves.curves" |
◆ AnimationCurveFilePath
| string MoreMountains.Tools.MMAnimationCurveGenerator.AnimationCurveFilePath = "Assets/MMTools/MMTween/Editor/" |
the path to save the asset at
◆ GenerateAnimationCurvesButton
| bool MoreMountains.Tools.MMAnimationCurveGenerator.GenerateAnimationCurvesButton |
◆ GenerateAntiCurves
| bool MoreMountains.Tools.MMAnimationCurveGenerator.GenerateAntiCurves = false |
whether to generate anti curves (y goes from 1 to 0) or regular ones (y goes from 0 to 1)
◆ Resolution
| int MoreMountains.Tools.MMAnimationCurveGenerator.Resolution = 50 |
the dots resolution (higher is better)
The documentation for this class was generated from the following file: