A bind of expression influences to a material color.

Implements

Constructors

  • Parameters

    • __namedParameters: {
          material: Material;
          targetAlpha?: number;
          targetValue: Color;
          type: VRMExpressionMaterialColorType;
      }
      • material: Material

        The target material.

      • OptionaltargetAlpha?: number

        The target alpha.

      • targetValue: Color

        The target color.

      • type: VRMExpressionMaterialColorType

        The type of the target property of the material.

    Returns VRMExpressionMaterialColorBind

Properties

material: Material

The target material.

targetAlpha: number

The target alpha.

targetValue: Color

The target color.

The type of the target property of the material.

Methods

  • Apply a weight to this bind. Applied weights will be accumulated until clearAppliedWeight is called.

    Parameters

    • weight: number

    Returns void

  • Clear previously applied weights.

    Returns void