Strata - v1.4.10
    Preparing search index...

    Interface YukaPathProps

    Props for the YukaPath component.

    interface YukaPathProps {
        color?: ColorRepresentation;
        lineWidth?: number;
        loop?: boolean;
        showDirection?: boolean;
        showWaypoints?: boolean;
        visible?: boolean;
        waypointColor?: ColorRepresentation;
        waypoints: [number, number, number][];
        waypointSize?: number;
    }
    Index

    Properties

    color?: ColorRepresentation

    Color of the path line. Default: 0x00ff00.

    lineWidth?: number

    Width of the path line. Default: 2.

    loop?: boolean

    Whether the path loops back to the start. Default: false.

    showDirection?: boolean

    Show direction arrows between waypoints. Default: false.

    showWaypoints?: boolean

    Show small spheres at waypoint positions. Default: false.

    visible?: boolean

    Show path visualization. Default: false.

    waypointColor?: ColorRepresentation

    Color of waypoint spheres. Defaults to path color.

    waypoints: [number, number, number][]

    Array of waypoint positions [[x,y,z], ...].

    waypointSize?: number

    Size of waypoint spheres. Default: 0.2.