unreal.RigUnit_DrawDebugCamera

class unreal.RigUnit_DrawDebugCamera(execute_context: RigVMExecuteContext = [], drawer: DebugDrawer = [], location: Vector = Ellipsis, rotation: Rotator = Ellipsis, line_style: DrawDebugLineStyle = Ellipsis, depth_test: bool = False, scale: float = 0.0, fov_degrees: float = 0.0)

Bases: RigUnit_DrawDebugLibraryBase

Debug draw a camera shape

C++ Source:

  • Plugin: DrawDebugLibrary

  • Module: DrawDebugLibrary

  • File: RigUnit_DrawDebugLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • depth_test (bool): [Read-Write] If to use depth testing while drawing

  • drawer (DebugDrawer): [Read-Write] Debug Drawer

  • execute_context (RigVMExecuteContext): [Read-Write] The execution result

  • fov_degrees (float): [Read-Write] Camera FOV

  • line_style (DrawDebugLineStyle): [Read-Write] Line Style

  • location (Vector): [Read-Write] Draw Location

  • rotation (Rotator): [Read-Write] Draw Rotation

  • scale (float): [Read-Write] Camera Scale

property depth_test: bool

[Read-Write] If to use depth testing while drawing

Type:

(bool)

property drawer: DebugDrawer

[Read-Write] Debug Drawer

Type:

(DebugDrawer)

property fov_degrees: float

[Read-Write] Camera FOV

Type:

(float)

property line_style: DrawDebugLineStyle

[Read-Write] Line Style

Type:

(DrawDebugLineStyle)

property location: Vector

[Read-Write] Draw Location

Type:

(Vector)

property rotation: Rotator

[Read-Write] Draw Rotation

Type:

(Rotator)

property scale: float

[Read-Write] Camera Scale

Type:

(float)