unreal.TG_Expression_Gradient

class unreal.TG_Expression_Gradient(outer: Object | None = None, name: Name | str = 'None')

Bases: TG_Expression

TG Expression Gradient

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Expression_Gradient.h

Editor Properties: (see get_editor_property/set_editor_property)

  • base_output_settings (TG_TextureDescriptor): [Read-Write] When we will work on Node UI for FOutputSettings we will set the category as TG_Setting

  • center (Vector2f): [Read-Write] The center of the radial gradient

  • interpolation (GradientInterpolation): [Read-Write] Type of interpolation to use

  • output (TG_Texture): [Read-Write] The generated gradient texture

  • point1 (Vector2f): [Read-Write] First point of the line for axial gradients

  • point2 (Vector2f): [Read-Write] Second point of the line for axial gradients

  • radius (float): [Read-Write] The center of the radial gradient

  • rotation (GradientRotation): [Read-Write] Rotation of the gradient

  • rotation_limited (GradientRotationLimited): [Read-Write] Rotation of the gradient

  • type (GradientType): [Read-Write] The type of the gradient function

property center: Vector2f

[Read-Write] The center of the radial gradient

Type:

(Vector2f)

property interpolation: GradientInterpolation

[Read-Write] Type of interpolation to use

Type:

(GradientInterpolation)

property point1: Vector2f

[Read-Write] First point of the line for axial gradients

Type:

(Vector2f)

property point2: Vector2f

[Read-Write] Second point of the line for axial gradients

Type:

(Vector2f)

property radius: float

[Read-Write] The center of the radial gradient

Type:

(float)

property rotation: GradientRotation

[Read-Write] Rotation of the gradient

Type:

(GradientRotation)

property rotation_limited: GradientRotationLimited

[Read-Write] Rotation of the gradient

Type:

(GradientRotationLimited)

property type: GradientType

[Read-Write] The type of the gradient function

Type:

(GradientType)