@cccode/fxr - v22.0.0

    Class NodeSpin

    Slot: NodeMovement

    Controls the angular speed of the node.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    angularSpeedMultiplierX: ScalarValue

    Multiplier for angularSpeedX.

    Default: 1

    Argument: Active time

    angularSpeedMultiplierY: ScalarValue

    Multiplier for angularSpeedY.

    Default: 1

    Argument: Active time

    angularSpeedMultiplierZ: ScalarValue

    Multiplier for angularSpeedZ.

    Default: 1

    Argument: Active time

    angularSpeedX: ScalarValue

    The node's angular speed around its local X-axis in degrees per second.

    Default: 0

    Argument: Active time

    See also:

    angularSpeedY: ScalarValue

    The node's angular speed around its local Y-axis in degrees per second.

    Default: 0

    Argument: Active time

    See also:

    angularSpeedZ: ScalarValue

    The node's angular speed around its local Z-axis in degrees per second.

    Default: 0

    Argument: Active time

    See also:

    type: NodeSpin

    The numeric ID for the type of action this represents.

    unk_ds3_f1_0: number

    Unknown integer.

    Default: 0

    Accessors

    Methods

    • Creates a minified version of this action.

      Some actions can be minified to make the output smaller. This is done by creating a simpler action that is functionally equivalent to this action.

      Actions that can not be minified will not be changed.

      Returns any

    • Scale the size of the action by a factor. This only does something when used with actions that have scaling properties.

      Parameters

      • factor: number

        The factor to scale by.

      • options: { mode?: ScalingMode } = {}

      Returns NodeSpin

    • Scale the rate of time for the action.

      This method's main purpose is to serve as a fallback for changing the rate of time for Dark Souls 3 effects, which doesn't support the rateOfTime property. The rate of time is automatically scaled when writing effects for DS3, you do not need to do this yourself. As such, this method is only useful if you want to scale the rate of time for individual parts of an effect, or if you need the extra options available for this method.

      Parameters

      • factor: number

        The factor to scale the rate of time by. Setting this to 2 will make the action play twice as fast. Setting it to 0.5 will make it play half as fast.

      • Optionaloptions: { scaleTracerDuration?: boolean } = {}

        Extra options for changing how the scaling is applied to different properties.

      Returns NodeSpin

    MMNEPVFCICPMFPCPTTAAATR