A RaTweenMaterialFloatBase<TargetT> tween handles the logics of tweening the Float of a Renderer's Material
|
| RaTweenMaterialFloat (Renderer target, string propertyName, float startValue, float endValue, float duration) |
|
| RaTweenMaterialFloat (Renderer target, string propertyName, float endValue, float duration) |
|
| RaTweenMaterialFloat (Renderer target, int propertyID, float startValue, float endValue, float duration) |
|
| RaTweenMaterialFloat (Renderer target, int propertyID, float endValue, float duration) |
|
RaTweenMaterialFloat | SetSharedMaterial (bool enabled=true) |
| When Enabled, it targets the shared material of the renderer. Else it targets the instance material. More...
|
|
| RaTweenMaterialFloatBase (TargetT target, string propertyName, float startValue, float endValue, float duration) |
|
| RaTweenMaterialFloatBase (TargetT target, string propertyName, float endValue, float duration) |
|
| RaTweenMaterialFloatBase (TargetT target, int propertyID, float startValue, float endValue, float duration) |
|
| RaTweenMaterialFloatBase (TargetT target, int propertyID, float endValue, float duration) |
|
RaTweenMaterialFloatBase< TargetT > | SetTargetProperty (string propertyName) |
| Makes it so the given property of the Target Material is affected by the Tween
Note: Doing it by ID (Calling SetTargetProperty(int)) is more efficient.
More...
|
|
RaTweenMaterialFloatBase< TargetT > | SetTargetProperty (int propertyID) |
| Makes it so the given property of the Target Material is affected by the Tween
Note: PropertyID is retrieved by calling Shader.PropertyToID(propertyName)
More...
|
|
|
override Material | GetMaterial (Renderer target) |
|
override RaTweenMaterialFloatBase< Renderer > | MaterialFloatClone () |
|
override void | SetDefaultValues () |
|
override void | DynamicEvaluation (float normalizedValue, TargetT target, float start, float end) |
|
override RaTweenDynamic< TargetT, float > | DynamicClone () |
|
override float | ReadValue (TargetT reference) |
|
override float | GetEndByDelta (float start, float delta) |
|
abstract RaTweenMaterialFloatBase< TargetT > | MaterialFloatClone () |
|
abstract Material | GetMaterial (TargetT target) |
|
A RaTweenMaterialFloatBase<TargetT> tween handles the logics of tweening the Float of a Renderer's Material
Note: By default this targets the Instance Material. Use SetSharedMaterial(bool) to target the Shared Material instead
Note: RaTweenUtilExtensions for all extension methods