Class TextureCurve
A wrapper around AnimationCurve
to automatically bake it into a texture.
Implements
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Serializable]
public class TextureCurve : IDisposable
Constructors
Name | Description |
---|---|
Texture |
Creates a new Texture |
Texture |
Creates a new Texture |
Properties
Methods
Name | Description |
---|---|
Add |
Adds a new key to the curve. |
Dispose() | Cleans up the internal texture resource. |
Evaluate(float) | Evaluate a time value on the curve. |
~Texture |
Finalizer. |
Get |
Gets the texture representation of this curve. |
Move |
Removes the keyframe at |
Release() | Releases the internal texture resource. |
Remove |
Removes a key. |
Set |
Marks the curve as dirty to trigger a redraw of the texture the next time Get |
Smooth |
Smoothes the in and out tangents of the keyframe at |