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

    Struct SerpentineAxialFrame

    Orthonormal local frame sampled along a Serpentine axial chain.

    Namespace: CreatureKit.Serpentine
    Assembly: CreatureKit.Serpentine.Runtime.dll
    Syntax
    public readonly struct SerpentineAxialFrame

    Constructors

    SerpentineAxialFrame(float, Vector3, Vector3, Vector3, Vector3)

    Declaration
    public SerpentineAxialFrame(float position01, Vector3 position, Vector3 tangent, Vector3 up, Vector3 right)
    Parameters
    Type Name Description
    float position01
    Vector3 position
    Vector3 tangent
    Vector3 up
    Vector3 right

    Properties

    Position

    Position in the local space of the generated creature.

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    Position01

    Normalized arc position: 0 is rear/tail and 1 is front/head.

    Declaration
    public float Position01 { get; }
    Property Value
    Type Description
    float

    Right

    Transported right-side direction.

    Declaration
    public Vector3 Right { get; }
    Property Value
    Type Description
    Vector3

    Rotation

    Rotation whose local Z follows Tangent and local Y follows Up.

    Declaration
    public Quaternion Rotation { get; }
    Property Value
    Type Description
    Quaternion

    Tangent

    Forward direction of the axial chain.

    Declaration
    public Vector3 Tangent { get; }
    Property Value
    Type Description
    Vector3

    Up

    Transported dorsal direction.

    Declaration
    public Vector3 Up { get; }
    Property Value
    Type Description
    Vector3
    Back to top Generated by DocFX