OmniGraph Node omni.graph.nodes.Trig

omni.graph.nodes.Trig Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Trigonometric Operation

__categories

math:operator,math:conversion

__language

Python

Generated Class Name

OgnTrigDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.Trig Description

Trigonometric operation of one input in degrees. Supported operations are:

SIN, COS, TAN, ARCSIN, ARCCOS, DEGREES, RADIANS

omni.graph.nodes.Trig Inputs

Name

Type

Default

Required?

Descripton

inputs:a

[‘double’, ‘float’, ‘half’, ‘timecode’]

None

Y

Input to the function

inputs:operation

token

SIN

Y

The operation to perform

allowedTokens

SIN,COS,TAN,ARCSIN,ARCCOS,DEGREES,RADIANS

__allowedTokens

[“SIN”, “COS”, “TAN”, “ARCSIN”, “ARCCOS”, “DEGREES”, “RADIANS”]

uiName

Operation

__default

“SIN”

omni.graph.nodes.Trig Outputs

Name

Type

Default

Required?

Descripton

outputs:result

[‘double’, ‘float’, ‘half’, ‘timecode’]

None

Y

The result of the function

uiName

Result