@cccode/fxr - v22.0.0

    Class LevelsOfDetailConfig

    Manages the duration and thresholds for the levels of detail node.

    Implements

    Index

    Constructors

    • Parameters

      • duration: ScalarValue

        The duration for the node to stay active. Once its time is up, it will deactivate and none of the child nodes will be visible/audible anymore. Can be set to -1 to make the node last forever.

      • thresholds: number[]

        An array of distance thresholds. Each threshold is used for the child node of the same index.

      • unk_ac6_f1_5: number = 0

        An unknown integer field from AC6 that is always 0 or 1 in vanilla. Defaults to 0.

      Returns LevelsOfDetailConfig

    Properties

    duration: ScalarValue

    The duration for the node to stay active. Once its time is up, it will deactivate and none of the child nodes will be visible/audible anymore. Can be set to -1 to make the node last forever.

    thresholds: number[]

    An array of distance thresholds. Each threshold is used for the child node of the same index.

    type: LevelsOfDetail = ConfigType.LevelsOfDetail
    unk_ac6_f1_5: number = 0

    An unknown integer field from AC6 that is always 0 or 1 in vanilla. Defaults to 0.

    Methods

    • Returns the number of actions this config will contain if written to the given game's structure.

      Parameters

      Returns number

    MMNEPVFCICPMFPCPTTAAATR