Creature Kit v1.1 Procedural Creature Creation for Unity
Search Results for

    Show / Hide Table of Contents
    Documentation
    Home Animation Channels Guide Clips Guide No-Code Guide API Reference

    Class BeastAnimationMath

    Shared helpers for normalized animation phases and smooth interpolation.

    Inheritance
    object
    BeastAnimationMath
    Namespace: CreatureKit.Beasts.Animation
    Assembly: CreatureKit.Beasts.Animation.Runtime.dll
    Syntax
    public static class BeastAnimationMath

    Methods

    Repeat01(float)

    Wraps a phase value into the normalized 0..1 range.

    Declaration
    public static float Repeat01(float value)
    Parameters
    Type Name Description
    float value

    Input phase value.

    Returns
    Type Description
    float

    The wrapped phase in the 0..1 range.

    Smooth01(float)

    Applies a smoothstep curve to a normalized value.

    Declaration
    public static float Smooth01(float value)
    Parameters
    Type Name Description
    float value

    Input value, clamped to the 0..1 range.

    Returns
    Type Description
    float

    A smoothed value in the 0..1 range.

    Back to top Generated by DocFX