OmniGraph Node omni.graph.ui.SetCameraTarget

omni.graph.ui.SetCameraTarget Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Set Camera Target

__categories

sceneGraph:camera

__exclusions

tests

Generated Class Name

OgnSetCameraTargetDatabase

Python Module

omni.graph.ui

omni.graph.ui.SetCameraTarget Description

Sets the camera’s target

omni.graph.ui.SetCameraTarget Inputs

Name

Type

Default

Required?

Descripton

inputs:execIn

execution

None

Y

Execution input

uiName

In

inputs:prim

bundle

None

The camera prim, when ‘usePath’ is false

inputs:primPath

token

Y

Path of the camera, used when ‘usePath’ is true

uiName

Camera Path

inputs:rotate

bool

True

Y

True to keep position but change orientation and radius (camera rotates to look at new target). False to keep orientation and radius but change position (camera moves to look at new target).

uiName

Rotate

__default

true

inputs:target

pointd[3]

[0.0, 0.0, 0.0]

Y

The target point

uiName

Target

inputs:usePath

bool

True

Y

When true, the ‘primPath’ attribute is used as the path to the prim being read, otherwise it will read the connection at the ‘prim’ attribute

__default

true

omni.graph.ui.SetCameraTarget Outputs

Name

Type

Default

Required?

Descripton

outputs:execOut

execution

None

Y

Execution Output

uiName

Out