unreal.SlateIMEngineCanvasParams

class unreal.SlateIMEngineCanvasParams(color_and_opacity: SlateColor = Ellipsis, desired_size: Vector2D = Ellipsis, world_context: Object = Ellipsis, update_type: SlateIMEngineCanvasUpdateType = Ellipsis)

Bases: StructBase

Slate IMEngine Canvas Params

C++ Source:

  • Plugin: SlateIM

  • Module: SlateIMEngine

  • File: SlateIMEngineParameters.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_and_opacity (SlateColor): [Read-Write] Tint applied to the resulting image.

  • desired_size (Vector2D): [Read-Write] The size of the image drawn in the UI. This may be different from the size of the canvas.

  • update_type (SlateIMEngineCanvasUpdateType): [Read-Write] When the texture will be redrawn.

  • world_context (Object): [Read-Write] The world related to the canvas being drawn, if any.

property color_and_opacity: SlateColor

[Read-Write] Tint applied to the resulting image.

Type:

(SlateColor)

property desired_size: Vector2D

[Read-Write] The size of the image drawn in the UI. This may be different from the size of the canvas.

Type:

(Vector2D)

property update_type: SlateIMEngineCanvasUpdateType

[Read-Write] When the texture will be redrawn.

Type:

(SlateIMEngineCanvasUpdateType)

property world_context: Object

[Read-Write] The world related to the canvas being drawn, if any.

Type:

(Object)