rednode API - v0.80.1
    Preparing search index...

    Interface PinOptions

    What world.pin takes (#43).

    interface PinOptions {
        at: EntityId | WorldPoint | EntityId & WorldPoint;
        color?: string;
        height?: number;
        key?: string;
        style?: PinStyle;
        text?: string;
        title: string;
        yaw?: number;
    }
    Index

    Where the post stands: a place in world metres (its foot), or an entity's id, which the pin follows wherever it goes (its foot at the entity's position). With an entity id, x, y and z beside hash are where it is drawn until REDnode finds the entity.

    color?: string

    WP1's name for style.color, still read.

    height?: number

    WP1's name for style.pinHeight, still read.

    key?: string

    The pin's id in a .pins.json file, up to 40 characters (#50): world.pinSet's save writes it, and makes one for a pin without it. A scene names a pin by it, since the title may change.

    style?: PinStyle

    How it looks: colour, font, sizes, the post's height and its scale.

    text?: string

    An optional second line, up to 160 characters.

    title: string

    The label's first line, up to 80 characters.

    yaw?: number

    The way the pin faces, in degrees (0 faces +Y, as world.spawn's yaw). Saved with the pin; nothing is drawn for it.