@cccode/fxr - v22.0.0

    Function text

    • Creates a node that represents a string, which contains nodes that represent characters. This can be very useful for displaying text in an effect, which is often useful to, for example, debug or test things.

      Note: This generates a lot of nodes depending on the text. Avoid using it to display very long strings. That can be done better using a custom texture on a single particle instead.

      Parameters

      • text: string

        The text to convert.

      • options: {
            args?: Partial<Props<BillboardEx>>;
            color?: Vector4Value;
            fontSize?: number;
            originX?: "center" | "left" | "right";
            originY?: "top" | "bottom" | "middle" | "baseline";
        } = {}

        Alignment, size, and other options for the text.

      Returns BasicNode

    MMNEPVFCICPMFPCPTTAAATR