Class ScyllaShapeTweenExtensions
Provides extension methods for animating the parameters of every Scylla 3D shape via
ScyllaTween. Each helper drives a single shape property over the requested
duration; the property setter triggers Rebuild() internally, so the mesh updates
every tween tick.
Inheritance
ScyllaShapeTweenExtensions
Assembly: ScyllaCore.dll
Syntax
public static class ScyllaShapeTweenExtensions
Methods
TweenCornerRadius(ScyllaRoundedBoxShape, float, float)
Declaration
public static TweenFloat TweenCornerRadius(this ScyllaRoundedBoxShape shape, float target, float duration)
Parameters
Returns
TweenDepth(ScyllaBoxShape, float, float)
Declaration
public static TweenFloat TweenDepth(this ScyllaBoxShape shape, float target, float duration)
Parameters
Returns
TweenDepth(ScyllaPlaneShape, float, float)
Declaration
public static TweenFloat TweenDepth(this ScyllaPlaneShape shape, float target, float duration)
Parameters
Returns
TweenDepth(ScyllaRoundedBoxShape, float, float)
Declaration
public static TweenFloat TweenDepth(this ScyllaRoundedBoxShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaBoxShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaBoxShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaCapsuleShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaCapsuleShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaConeShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaConeShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaCylinderShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaCylinderShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaPyramidShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaPyramidShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaQuadShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaQuadShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaRingShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaRingShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaRoundedBoxShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaRoundedBoxShape shape, float target, float duration)
Parameters
Returns
TweenHeight(ScyllaTriangularPrismShape, float, float)
Declaration
public static TweenFloat TweenHeight(this ScyllaTriangularPrismShape shape, float target, float duration)
Parameters
Returns
TweenInnerRadius(ScyllaRingShape, float, float)
Declaration
public static TweenFloat TweenInnerRadius(this ScyllaRingShape shape, float target, float duration)
Parameters
Returns
TweenMajorRadius(ScyllaTorusShape, float, float)
Declaration
public static TweenFloat TweenMajorRadius(this ScyllaTorusShape shape, float target, float duration)
Parameters
Returns
TweenMinorRadius(ScyllaTorusShape, float, float)
Declaration
public static TweenFloat TweenMinorRadius(this ScyllaTorusShape shape, float target, float duration)
Parameters
Returns
TweenOuterRadius(ScyllaRingShape, float, float)
Declaration
public static TweenFloat TweenOuterRadius(this ScyllaRingShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaCapsuleShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaCapsuleShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaConeShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaConeShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaCylinderShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaCylinderShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaIcoSphereShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaIcoSphereShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaOctahedronShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaOctahedronShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaPyramidShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaPyramidShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaSphereShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaSphereShape shape, float target, float duration)
Parameters
Returns
TweenRadius(ScyllaTriangularPrismShape, float, float)
Declaration
public static TweenFloat TweenRadius(this ScyllaTriangularPrismShape shape, float target, float duration)
Parameters
Returns
TweenSize(ScyllaBoxShape, Size3D, float)
Declaration
public static TweenVector3 TweenSize(this ScyllaBoxShape shape, Size3D target, float duration)
Parameters
Returns
TweenSize(ScyllaPlaneShape, Size2D, float)
Declaration
public static TweenVector2 TweenSize(this ScyllaPlaneShape shape, Size2D target, float duration)
Parameters
Returns
TweenSize(ScyllaQuadShape, Size2D, float)
Declaration
public static TweenVector2 TweenSize(this ScyllaQuadShape shape, Size2D target, float duration)
Parameters
Returns
TweenSize(ScyllaRoundedBoxShape, Size3D, float)
Declaration
public static TweenVector3 TweenSize(this ScyllaRoundedBoxShape shape, Size3D target, float duration)
Parameters
Returns
TweenTint(ScyllaShapeBase3D, Color, float)
Animates the shape's Tint from its current value to
target over duration seconds. The tint is
applied via UnityEngine.MaterialPropertyBlock; no material instance is allocated.
Declaration
public static TweenColor TweenTint(this ScyllaShapeBase3D shape, Color target, float duration)
Parameters
Returns
TweenWidth(ScyllaBoxShape, float, float)
Declaration
public static TweenFloat TweenWidth(this ScyllaBoxShape shape, float target, float duration)
Parameters
Returns
TweenWidth(ScyllaPlaneShape, float, float)
Declaration
public static TweenFloat TweenWidth(this ScyllaPlaneShape shape, float target, float duration)
Parameters
Returns
TweenWidth(ScyllaQuadShape, float, float)
Declaration
public static TweenFloat TweenWidth(this ScyllaQuadShape shape, float target, float duration)
Parameters
Returns
TweenWidth(ScyllaRoundedBoxShape, float, float)
Declaration
public static TweenFloat TweenWidth(this ScyllaRoundedBoxShape shape, float target, float duration)
Parameters
Returns
See Also