@cccode/fxr - v22.0.0

    Class Line

    Slot: Appearance

    Simple line particle. It automatically rotates to match the direction it's moving.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    alphaMultiplier: ScalarValue

    Alpha multiplier.

    Default: 1

    Argument: Active time

    alphaThreshold: ScalarValue

    Parts of the particle with less opacity than this threshold will be invisible. The range is 0-255.

    This threshold creates a hard cut-off between visible and not visible, which is unlike the alpha fade threshold properties in some similar actions.

    Default: 0

    Argument: Active time

    Blend mode.

    Default: BlendMode.Normal

    Argument: Constant 0

    bloom: boolean

    Controls whether or not the particles have an additional bloom effect controlled by bloomColor.

    Note:

    • This has no effect if the "Effects Quality" setting is set to "Low".
    • This does not affect the natural bloom effect from high color values.

    Default: true

    See also:

    bloomColor: Vector4

    Controls the color of the additional bloom effect. The colors of the particle will be multiplied with this color to get the final color of the bloom effect.

    Note:

    • This has no effect if the "Effects Quality" setting is set to "Low".
    • This does not affect the natural bloom effect from high color values.

    Default: [1, 1, 1, 0]

    See also:

    color1: Vector4Value

    Color multiplier.

    Values in this will be clamped to the 0-1 range. This is seemingly identical to color2. There are no unrestricted color properties in this action, but rgbMultiplier and alphaMultiplier can be used to scale the colors.

    Default: [1, 1, 1, 1]

    Argument: Particle age

    See also:

    color2: Vector4Value

    Color multiplier.

    Values in this will be clamped to the 0-1 range. This is seemingly identical to color1. There are no unrestricted color properties in this action, but rgbMultiplier and alphaMultiplier can be used to scale the colors.

    Default: [1, 1, 1, 1]

    Argument: Particle age

    See also:

    color3: Vector4Value

    Color multiplier.

    Values in this will be clamped to the 0-1 range. There are no unrestricted color properties in this action, but rgbMultiplier and alphaMultiplier can be used to scale the colors.

    Default: [1, 1, 1, 1]

    Argument: Active time

    See also:

    endColor: Vector4Value

    The color for the end of the line.

    Values in this will be clamped to the 0-1 range. There are no unrestricted color properties in this action, but rgbMultiplier and alphaMultiplier can be used to scale the colors.

    Default: [1, 1, 1, 1]

    Argument: Active time

    See also:

    length: ScalarValue

    The length of the line.

    Default: 1

    Argument: Emission time

    See also:

    lengthMultiplier: ScalarValue

    Multiplier for the line length.

    Default: 1

    Argument: Particle age

    maxDistance: number

    Minimum view distance. If a particle is farther away than this distance from the camera, it will be hidden. Can be set to -1 to disable the limit.

    This requires maxFadeDistance to be set to a positive value or 0.

    This is different from maxDistanceThreshold, as this controls the start of a distance range that has smooth transitions at each end, while the threshold value is a hard cut-off.

    Default: -1

    See also:

    maxDistanceThreshold: number

    A hard cut-off point for the distance between the camera and the particle. If a particle is farther away than this distance from the camera, it will be hidden. Can be set to -1 to disable the limit.

    Default: -1

    See also:

    maxFadeDistance: number

    This controls a point where the opacity of a particle will start to fade to 0 near the maximum view distance. At maxDistance, the opacity will be 0, and it will linearly approach 1 as the distance between the camera and the particle approaches this distance.

    This requires maxDistance to be set to a positive value or 0. This distance limit can be disabled by setting this and minDistance to -1.

    Default: -1

    See also:

    minDistance: number

    Minimum view distance. If a particle is closer than this distance from the camera, it will be hidden. Can be set to -1 to disable the limit.

    This requires minFadeDistance to be set to a positive value or 0.

    This is different from minDistanceThreshold, as this controls the start of a distance range that has smooth transitions at each end, while the threshold value is a hard cut-off.

    Default: -1

    See also:

    minDistanceThreshold: number

    A hard cut-off point for the distance between the camera and the particle. If a particle is closer than this distance from the camera, it will be hidden. Can be set to -1 to disable the limit.

    Default: -1

    See also:

    minFadeDistance: number

    This controls a point where the opacity of a particle will start to fade to 0 near the minimum view distance. At minDistance, the opacity will be 0, and it will linearly approach 1 as the distance between the camera and the particle approaches this distance.

    This requires minDistance to be set to a positive value or 0. This distance limit can be disabled by setting this and minDistance to -1.

    Default: -1

    See also:

    rgbMultiplier: ScalarValue

    Scalar multiplier for the color that does not affect the alpha. Effectively a brightness multiplier.

    Default: 1

    Argument: Active time

    startColor: Vector4Value

    The color for the start of the line.

    Values in this will be clamped to the 0-1 range. There are no unrestricted color properties in this action, but rgbMultiplier and alphaMultiplier can be used to scale the colors.

    Default: [1, 1, 1, 1]

    Argument: Active time

    See also:

    type: Line

    The numeric ID for the type of action this represents.

    unk_ds3_f1_1: number

    Unknown integer.

    Default: -1

    unk_ds3_f2_0: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_1: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_10: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_11: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_12: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_13: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_2: number

    Unknown integer.

    Default: 8

    unk_ds3_f2_20: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_21: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_22: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_23: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_24: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_27: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_28: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_29: number

    Unknown float.

    This seems to be some sort of distance threshold. When the camera is within this distance, some things will look different in some ways. For example, when within the distance and the blend mode is set to BlendMode.Subtract, the opacity doesn't work the way it normally does. Other effects have been found as well, but what exactly this threshold is for is unknown.

    Default: 0

    unk_ds3_f2_3: number

    Unknown integer.

    Default: 0

    unk_ds3_f2_9: number

    Unknown float.

    Default: 0

    unk_ds3_p2_2: ScalarValue

    Unknown scalar.

    Default: 0

    unk_ds3_p2_3: Vector4Value

    Unknown vector4.

    Default: [1, 1, 1, 1]

    unk_ds3_p2_4: Vector4Value

    Unknown vector4.

    Default: [1, 1, 1, 1]

    unk_ds3_p2_5: Vector4Value

    Unknown vector4.

    Default: [1, 1, 1, 1]

    unk_er_f1_1: number

    Unknown integer.

    Default: 1

    unk_er_f1_2: number

    Unknown integer.

    Default: 1

    unk_sdt_f2_30: number

    Unknown integer.

    Default: 0

    unk_sdt_f2_32: number

    Unknown integer.

    When set to 1, it seems to stop unk_ds3_f2_29 from doing whatever it is doing, and it can also cause some ugly "outline" effects on things seen through particles.

    Default: 0

    unk_sdt_f2_33: number

    Unknown integer.

    Default: 0

    unk_sdt_f2_34: number

    Unknown float.

    Default: 0

    unk_sdt_f2_35: number

    Unknown integer.

    Default: -2

    unk_sdt_f2_36: number

    Unknown integer.

    Default: -2

    unk_sdt_f2_37: number

    Unknown integer.

    Default: 0

    unk_sdt_f2_38: number

    Unknown integer.

    Default: 0

    unk_sdt_f2_39: number

    Unknown integer.

    Default: 0

    unkDepthBlend1: number

    Unknown float.

    Default: 1

    unkDepthBlend2: number

    Unknown float.

    Default: 0

    unkHideIndoors: number

    When set to 1, this stops the particles from being shown indoors.

    Other values are used in AC6, but what they do is unknown.

    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 Line

    • 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 Line

    MMNEPVFCICPMFPCPTTAAATR