A RaTweenMaterialScaleBase<TargetT> tween handles the logics of tweening the TextureScale of a Renderer's Material
Note: RaTweenUtilExtensions for all extension methods
More...
|
| RaTweenMaterialScale (Renderer target, Vector2 startScale, Vector2 endScale, float duration) |
|
| RaTweenMaterialScale (Renderer target, Vector2 endScale, float duration) |
|
RaTweenMaterialScale | SetSharedMaterial (bool enabled=true) |
| When Enabled, it targets the shared material of the renderer. Else it targets the instance material. More...
|
|
| RaTweenMaterialScaleBase (TargetT target, Vector2 startValue, Vector2 endValue, float duration) |
|
| RaTweenMaterialScaleBase (TargetT target, Vector2 endValue, float duration) |
|
RaTweenMaterialScaleBase< TargetT > | SetTargetPropertyDefault () |
| Makes it so the DefaultVector2Property of the Target Material is affected by the Tween
|
|
RaTweenMaterialScaleBase< 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...
|
|
RaTweenMaterialScaleBase< 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...
|
|
RaTweenMaterialScaleBase< TargetT > | SetExcludeAxis (Axis excludeAxes) |
| Makes it so the given axes are excluded from the tween. So they remain the value they have at the moments of evaluation More...
|
|
RaTweenMaterialScaleBase< TargetT > | OnlyIncludeAxis (Axis inclAxes) |
| Makes it so the given axes which are not specified by the input are excluded. So they remain the value they have at the moments of evaluation More...
|
|
|
override RaTweenMaterialScaleBase< Renderer > | MaterialScaleClone () |
|
override Material | GetMaterial (Renderer target) |
|
override void | SetDefaultValues () |
|
override void | DynamicEvaluation (float normalizedValue, TargetT target, Vector2 start, Vector2 end) |
|
override RaTweenDynamic< TargetT, Vector2 > | DynamicClone () |
|
override Vector2 | ReadValue (TargetT reference) |
|
override Vector2 | GetEndByDelta (Vector2 start, Vector2 delta) |
|
abstract RaTweenMaterialScaleBase< TargetT > | MaterialScaleClone () |
|
abstract Material | GetMaterial (TargetT target) |
|
|
const string | DefaultVector2Property |
|
A RaTweenMaterialScaleBase<TargetT> tween handles the logics of tweening the TextureScale of a Renderer's Material
Note: RaTweenUtilExtensions for all extension methods
◆ MaterialScaleClone()
◆ SetSharedMaterial()
RaTweenMaterialScale RaTweening.RaRenderer.RaTweenMaterialScale.SetSharedMaterial |
( |
bool |
enabled = true | ) |
|
When Enabled, it targets the shared material of the renderer. Else it targets the instance material.
- Parameters
-
enabled | When True, it targets the shared material, else the instance material |