file_path stringlengths 32 153 | content stringlengths 0 3.14M |
|---|---|
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnSubtractDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Subtract
Subtracts from the first input the following inputs. The inputs can be of any numeric type.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRandomBooleanDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RandomBoolean
Generates a random boolean value.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRandomBooleanDatabase(og.Database):
"""Helper clas... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRpResourceExampleAllocatorDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RpResourceExampleAllocator
Allocate CUDA-interoperable RpResource
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRpResourceExampleAllocatorDatabase(o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnScaleToSizeDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ScaleToSize
Perform a smooth scaling maneuver, scaling a prim to a desired size tuple given a speed and easing factor
"""
import numpy
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnInsertAttrDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.InsertAttribute
Copies all attributes from an input bundle to the output bundle, as well as copying an additional 'attrToInsert' attribute
from the node itself with a specified name.
"""
from typing import Any
import carb
import omni.graph.co... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayFillDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ArrayFill
Creates a copy of the input array, filled with the given value
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnArrayFillDatabase(o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnSetGatheredAttributeDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.SetGatheredAttribute
Writes a value into the given Gathered attribute. If the number elements of the value is less than the gathered attribute,
the value will be broadcast to all prims. If the given value has more elements than the gathered att... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWriteSettingDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.WriteSetting
Node that writes a value to a kit application setting. Issues an error if input::value type does not match setting type.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
impo... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnAtanDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Atan
Trigonometric operation arctangent of one input in degrees.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnAtanDatabase(og.Database):
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTranslateToLocationDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.TranslateToLocation
Perform a smooth translation maneuver, translating a prim to a desired point given a speed and easing factor
"""
import numpy
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnNoOpDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Noop
Empty node used only as a placeholder
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnNoOpDatabase(og.Database):
"""Helper class providing simplified acce... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWritePrimDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.WritePrim
Exposes attributes for a single Prim on the USD stage as inputs to this node. When this node computes it writes any of these
connected inputs to the target Prim. Any inputs which are not connected will not be written.
"""
import usdr... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantInt64Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantInt64
Holds a 64 bit signed integer constant value
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantInt64Database(og.Database):
"""Helper class ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnNandDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.BooleanNand
Boolean NAND on two or more inputs. If the inputs are arrays, NAND operations will be performed pair-wise. The input sizes
must match. If only one input is an array, the other input will be broadcast to the size of the array. Return... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetMatrix4TranslationDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetMatrix4Translation
Gets the translation of the given matrix4d value which represents a linear transformation. Returns a vector3
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRotateVectorDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RotateVector
Rotates a 3d direction vector by a specified rotation. Accepts 3x3 matrices, 4x4 matrices, euler angles (XYZ), or quaternions
For 4x4 matrices, the transformation information in the matrix is ignored and the vector is treated as a... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantBoolDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantBool
Holds a boolean value
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantBoolDatabase(og.Database):
"""Helper class providing simplified acce... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnSetVariantSelectionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.SetVariantSelection
Set the variant selection on a prim
"""
import carb
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnSetVariantSelectionDatabase(og.Dat... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnExponentDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Exponent
Computes the base input raised to the power of the exponent. The result is the same type as the base input for floating point
types. The result is double for integral values to allow for negative exponents. If the input is a vector or ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantTexCoord2hDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantTexCoord2h
Holds a 2D uv texture coordinate.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantTexCoord2hDatabase(og.Database):
"""H... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantFloat2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantFloat2
Holds a 2-component float constant.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantFloat2Database(og.Database):
"""Helper ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRpResourceExampleDeformerDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RpResourceExampleDeformer
Allocate CUDA-interoperable RpResource
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRpResourceExampleDeformerDatabase(og.... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimsV2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimsV2
Reads primitives and outputs multiple primitive in a bundle.
"""
import usdrt
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnReadPrimsV2Databa... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayRemoveValueDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ArrayRemoveValue
Removes the first occurrence of the given value from an array. If removeAll is true, removes all occurrences
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.g... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRenderPreprocessEntryDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RenderPreProcessEntry
Entry point for RTX Renderer Preprocessing
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRenderPreprocessEntryDatabase(og.Database):
""... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnPauseSoundDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.PauseSound
Pause-unpause playing a sound
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnPauseSoundDatabase(og.Database):
"""Helper class providing... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnToFloatDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ToFloat
Converts the given input to 32 bit float. The node will attempt to convert array and tuple inputs to floats of the same
shape
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
impo... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetLookAtRotationDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetLookAtRotation
Computes the rotation angles to align a forward direction vector to a direction vector formed by starting at 'start' and
pointing at 'target'. The forward vector is the 'default' orientation of the asset being rotated, usual... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRotateToTargetDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RotateToTarget
This node smoothly rotates a prim object to match a target prim object given a speed and easing factor. At the end of the
maneuver, the source prim will have the rotation as the target prim.
Note: The Prim must have xform:orien... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetParentPathDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetParentPath
Generates a parent path token from another path token. (ex. /World/Cube -> /World)
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
clas... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimelineGetDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetTimeline
Get the main timeline properties
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnTimelineGetDatabase(og.Database):
"""Helper class providing simpli... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWritePrimRelationshipDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.WritePrimRelationship
Writes the target(s) to a relationship on a given prim
"""
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnWritePrimRelationshipData... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMakeTransformLookAtDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MakeTransformLookAt
Make a transformation matrix from eye, center world-space position and an up vector. Forward vector is negative Z direction
computed from eye-center and normalized. Up is positive Y direction. Right is the positive X directi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnToDegDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ToDeg
Convert radian input into degrees
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnToDegDatabase(og.Database):
"""Helper class prov... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetLocationAtDistanceOnCurveDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetLocationAtDistanceOnCurve
DEPRECATED: Use GetLocationAtDistanceOnCurve2
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnGetLocationAtDistanceOnCurv... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnAddDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Add
Add two or more values of any numeric type (element-wise). This includes simple values, tuples, arrays, and arrays of tuples.
If one input has a higher dimension than the other, then the input with lower dimension will be repeated to matc... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnToRadDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ToRad
Convert degree input into radians
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnToRadDatabase(og.Database):
"""Helper class prov... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantFloat3Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantFloat3
Holds a 3-component float constant.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantFloat3Database(og.Database):
"""Helper ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantTexCoord2fDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantTexCoord2f
Holds a 2D uv texture coordinate.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantTexCoord2fDatabase(og.Database):
"""H... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantUInt64Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantUInt64
Holds a 64 bit signed integer value
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantUInt64Database(og.Database):
"""Helper class providi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnPlaySoundDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.PlaySound
Plays a sound
"""
import carb
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnPlaySoundDatabase(og.Database):
"""Helper class providing simp... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadStageSelectionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadStageSelection
Outputs the current stage selection as a list of paths
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnReadStageSelectionDatabase(o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetGraphTargetIdDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetGraphTargetId
Access a unique id for the target prim the graph is being executed on.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnGetGraphTargetIdDatabase(og... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimelineSetDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.SetTimeline
Set properties of the main timeline
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnTimelineSetDatabase(og.Database):
"""Helper class providing sim... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantIntDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantInt
Holds a 32 bit signed integer constant value
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantIntDatabase(og.Database):
"""Helper class prov... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnDistance3DDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Distance3D
Computes the distance between two 3D points A and B. Which is the length of the vector with start and end points A and B
If one input is an array and the other is a single point, the scaler will be broadcast to the size of the arra... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCurveFrameDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.CurveToFrame
Create a frame object based on a curve description
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnCurveFrameDatabase(og.Database):
"... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnClearVariantSelectionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ClearVariantSelection
This node will clear the variant selection of the prim on the active layer. Final variant selection will be determined by
layer composition below your active layer. In a single layer stage, this will be the fallback varian... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnBreakVector2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.BreakVector2
Split vector into 2 component values.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnBreakVector2Database(og.Database):
""... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCurveTubeSTDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.CurveTubeST
Compute curve tube ST values
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnCurveTubeSTDatabase(og.Database):
"""Helper class providi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantDoubleDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantDouble
Holds a 64 bit floating point value
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantDoubleDatabase(og.Database):
"""Helper class providi... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimMaterialDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimMaterial
Given a path to a prim on the current USD stage, outputs the material of the prim. Gives an error if the given prim can
not be found.
"""
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core a... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCrossProductDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.CrossProduct
Compute the cross product of two (arrays of) vectors of the same size The cross product of two 3d vectors is a vector perpendicular
to both inputs If arrays of vectors are provided, the cross-product is computed row-wise between a ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantHalf2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantHalf2
Holds a 2-component half constant.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantHalf2Database(og.Database):
"""Helper cla... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnLengthAlongCurveDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.LengthAlongCurve
Find the length along the curve of a set of points
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnLengthAlongCurveDatabase(og.Databa... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetLocationAtDistanceOnCurve2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetLocationAtDistanceOnCurve2
Given a set of curve points and a normalized distance between 0-1.0, return the location on a closed curve. 0 is the first
point on the curve, 1.0 is also the first point because the is an implicit segment connect... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRenameAttrDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RenameAttribute
Changes the names of attributes from an input bundle for the corresponding output bundle. Attributes whose names are not
in the 'inputAttrNames' list will be copied from the input bundle to the output bundle without changing the... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimRelationshipDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrimRelationship
Reads the target(s) of a relationship on a given prim
"""
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnReadPrimRelationshipDatabas... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimelineStopDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.StopTimeline
Stops playback of the main timeline at the current frame
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnTimelineStopDatabase(og.Database):
"""Hel... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnDeformedPointsToHydraDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.DeformedPointsToHydra
Copy deformed points into rpresource and send to hydra
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnDeformedPointsToHydraData... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRpResourceExampleHydraDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RpResourceExampleHydra
Send RpResource to Hydra
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRpResourceExampleHydraDatabase(og.Database):
"""He... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnHasAttrDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.HasAttribute
Inspect an input bundle for a named attribute, setting output to true if it exists
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnHasAttr... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantPiDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantPi
Holds a 64-bit floating point constant value that is a multiple of Pi
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantPiDatabase(og.Database):
... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMultiplyDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Multiply
Computes the element-wise product of two or more inputs (multiplication). If one input has a higher dimension than the others,
then the input with lower dimension will be repeated to match the dimension of the higher dimension input... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTimerDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Timer
Timer Node is a node that lets you create animation curve(s), plays back and samples the value(s) along its time to output
values.
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadPrimsDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadPrims
DEPRECATED - use ReadPrimsV2!
"""
import numpy
import usdrt
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnReadPrimsDatabase(og.Database):
"... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCompareDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Compare
Outputs the truth value of a comparison operation. Tuples are compared in lexicographic order. If one input is an array and
the other is a scaler, the scaler will be broadcast to the size of the array
"""
from typing import Any
impor... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMakeVector2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MakeVector2
Merge 2 input values into a single output vector. If the inputs are arrays, the output will be an array of vectors.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCosDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Cos
Trigonometric operation cosine of one input in degrees.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnCosDatabase(og.Database):
""... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRandomNumericDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RandomNumeric
Generates a random numeric value in a range, using a uniform distribution. The range is specified with two inputs: minimum
and maximum. These inputs can be numbers, vectors, tuples or arrays of these. If one input has a higher dim... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnAppendPathDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.AppendPath
Generates a path token by appending the given relative path token to the given root or prim path token
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnStopAllSoundDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.StopAllSound
Stop playing all sounds
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnStopAllSoundDatabase(og.Database):
"""Helper class providing s... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMatrixMultiplyDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MatrixMultiply
Computes the matrix product of the inputs. Inputs must be compatible. Also accepts tuples (treated as vectors) as inputs.
Tuples in input A will be treated as row vectors. Tuples in input B will be treated as column vectors. A... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnDotProductDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.DotProduct
Compute the dot product of two (arrays of) vectors. If two arrays of vectors are provided, then the dot product will be taken
element-wise. Inputs must be the same shape
"""
from typing import Any
import omni.graph.core as og
impor... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetVariantNamesDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetVariantNames
Get variant names from a variantSet on a prim
"""
import carb
import numpy
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnGetVariantNames... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRandomGaussianDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RandomGaussian
Generates a random numeric value using a Gaussian (aka normal) distribution. The shape can be controlled with two inputs:
mean and standard deviation. These inputs can be numbers, vectors, tuples or arrays of these. If one input ... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnNotDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.BooleanNot
Inverts a bool or bool array
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnNotDatabase(og.Database):
"""Helper class provid... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetPrimsAtPathDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetPrimsAtPath
This node computes a prim path from either a single or an array of pth tokens.
"""
from typing import Any
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnFindPrimsDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.FindPrims
Finds Prims on the stage which match the given criteria
"""
import numpy
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnFindPrimsDatabase(og.Da... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnIsPrimActiveDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.IsPrimActive
Query if a Prim is active or not in the stage.
"""
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnIsPrimActiveDatabase(og.Database):
"""... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnRandomUnitQuaternionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.RandomUnitQuaternion
Generates a random unit quaternion with uniform distribution.
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnRandomUnitQuaternio... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnReadKeyboardStateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ReadKeyboardState
Reads the current state of the keyboard
"""
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnReadKeyboardStateDatabase(og.Database):
"""Helper cla... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWritePrimsV2Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.WritePrimsV2
Write back bundle(s) containing multiple prims to the stage.
"""
import usdrt
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnWritePrimsV2Data... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMakeArrayDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MakeArray
Makes an output array attribute from input values, in the order of the inputs. If 'arraySize' is less than 5, the top 'arraySize'
elements will be taken. If 'arraySize' is greater than 5 element e will be repeated to fill the remain... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnSinDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Sin
Trigonometric operation sine of one input in degrees.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnSinDatabase(og.Database):
"""H... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnWritePrimMaterialDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.WritePrimMaterial
Given a path to a prim and a path to a material on the current USD stage, assigns the material to the prim. Gives an error
if the given prim or material can not be found.
"""
import usdrt
import omni.graph.core as og
impo... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnConstantPrimsDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ConstantPrims
Returns the paths of one or more targetd prims
"""
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnConstantPrimsDatabase(og.Database):
"... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnEachZeroDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.EachZero
Outputs a boolean, or array of booleans, indicating which input values are zero within a specified tolerance.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.to... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetVariantSelectionDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetVariantSelection
Get the variant selection on a prim
"""
import carb
import usdrt
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnGetVariantSelectionDatabase(og.Dat... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnGetPrimLocalToWorldTransformDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.GetPrimLocalToWorldTransform
Given a path to a prim on the current USD stage, return the the transformation matrix. that transforms a vector from the
local frame to the global frame
"""
import numpy
import usdrt
import omni.graph.core as og... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnCopyAttrDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.CopyAttribute
Copies all attributes from one input bundle and specified attributes from a second input bundle to the output bundle.
"""
import carb
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnInterpolatorDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Interpolator
Time sample interpolator
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
class OgnInterpolatorDatabase(og.Database):
"""Helper class providing... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnTransformVectorDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.TransformVector
Applies a transformation matrix to a row vector, returning the result. returns vector * matrix If the vector is one dimension
smaller than the matrix (eg a 4x4 matrix and a 3d vector), The last component of the vector will be t... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMakeVector4Database.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MakeVector4
Merge 4 input values into a single output vector. If the inputs are arrays, the output will be an array of vectors.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnMakeTransformDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.MakeTransform
Make a transformation matrix that performs a translation, rotation (in euler angles), and scale in that order
"""
import numpy
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.o... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnBundleConstructorDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.BundleConstructor
This node creates a bundle mirroring all of the dynamic input attributes that have been added to it. If no dynamic attributes
exist then the bundle will be empty. See the 'InsertAttribute' node for something that can construct... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnExtractAttrDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ExtractAttribute
Copies a single attribute from an input bundle to an output attribute directly on the node if it exists in the input bundle
and matches the type of the output attribute
"""
from typing import Any
import carb
import omni.graph... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnArrayRotateDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.ArrayRotate
Shifts the elements of an array by the specified number of steps to the right and wraps elements from one end to the other.
A negative step will shift to the left.
"""
from typing import Any
import omni.graph.core as og
import omn... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnDivideDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.Divide
Computes the division of two values: A / B. The result is the same type as the numerator if the numerator is a decimal type.
Otherwise the result is a double. Vectors can be divided only by a scaler, the result being a vector in the same... |
omniverse-code/kit/exts/omni.graph.nodes/omni/graph/nodes/ogn/OgnIsZeroDatabase.py | """Support for simplified access to data on nodes of type omni.graph.nodes.IsZero
Outputs a boolean indicating if all of the input values are zero within a specified tolerance.
"""
from typing import Any
import omni.graph.core as og
import omni.graph.core._omni_graph_core as _og
import omni.graph.tools.ogn as ogn
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.