Enumeration DynamicTextureParameterType

Base type of the uniform data.

Constructors

Values

Color = 4

Parameter of Color type.

ColorGradient = 5

Parameter of ColorGradientHDR type.

Float = 0

Parameter of float type.

FloatCurve = 3

Parameter of TAnimationCurve type.

Int32 = 1

Parameter of integer type.

Matrix3 = 15

Parameter of Matrix3 type.

Matrix4 = 16

Parameter of Matrix4 type.

SpriteImage = 17

Parameter of SpriteImage type.

Texture = 18

Parameter of Texture type.

UInt32 = 2

Parameter of unsigned integer type.

Vector2 = 6

Parameter of Vector2 type.

Vector2I = 9

Parameter of Vector2I type.

Vector2UI = 12

Parameter of Vector2UI type.

Vector3 = 7

Parameter of Vector3 type.

Vector3I = 10

Parameter of Vector3I type.

Vector3UI = 13

Parameter of Vector3UI type.

Vector4 = 8

Parameter of Vector4 type.

Vector4I = 11

Parameter of Vector4I type.

Vector4UI = 14

Parameter of Vector4UI type.

Methods

  • Takes an array of enum values and combines them as a single enum flag value. This assumes that the target enum is a flag enum that can have their values combined using bitwise operators.

    Type Parameters

    Parameters

    Returns EnumValueTyped<T, number>

    The combined enum value.

  • Type Parameters

    • T

    Parameters

    Returns string

    Compatibility

  • Returns string[]

    Compatibility

  • Parameters

    • index: number

    Returns number

    Compatibility

  • Returns number[]

    Compatibility

  • Gets the name for the enumeration value that matches the specified enumValue.

    Type Parameters

    • T

    Parameters

    Returns string

    The enumeration value or undefined if not found.

  • Gets the enumeration names

    Returns string[]

    The enumeration names.

  • Gets the enumeration value at the specified index.

    Type Parameters

    • T = number

    Parameters

    • index: number

      The index.

    Returns EnumValueTyped<T, number>

    The enumeration value or undefined if not found.

  • Determines if the enum value has the flags set.

    Type Parameters

    Parameters

    Returns boolean

  • Determines if the enum bits were changed from previousValue to currentValue.

    Type Parameters

    Parameters

    Returns boolean

  • Iterates the enumeration names

    Returns Generator<string, any, any>

    The enumeration names.

  • Iterates the enumeration values

    Type Parameters

    • T = any

    Returns Generator<EnumValueTyped<T, number>, any, any>

    The enumeration values.

  • Takes a single enum value and splits it into separated flag values set on the value. This assumes that the target enum is a flag enum that can have their values combined using bitwise operators.

    Type Parameters

    Parameters

    • value: number | BrandedType<number, "enum"> | BrandedType<T, "enum">

      The enum value to have it's value split using bitwise-and operator.

    Returns EnumValueTyped<T, number>[]

    An array of each "bit flag" set in the enum.