Skip to content

Commit a5f64d8

Browse files
[REMIX-4725] rename the component folder to line up with the toolkit extension names
1 parent e1b6c48 commit a5f64d8

26 files changed

+58
-58
lines changed

src/dxvk/rtx_render/graph/rtx_graph_ogn_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ bool writePythonStub(const RtComponentSpec* spec, const char* outputFolderPath)
300300
outputFile << "from typing import TYPE_CHECKING" << std::endl;
301301
outputFile << std::endl;
302302
outputFile << "if TYPE_CHECKING:" << std::endl;
303-
outputFile << " from lightspeed.trex.components.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase" << std::endl;
303+
outputFile << " from lightspeed.trex.logic.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase" << std::endl;
304304
outputFile << std::endl;
305305
outputFile << std::endl;
306306
outputFile << "class "<< escapeJsonString(spec->getClassName()) << ":" << std::endl;

src/dxvk/rtx_render/graph/rtx_graph_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ using RtComponentType = XXH64_hash_t;
184184
static const RtComponentType kInvalidComponentType = kEmptyHash;
185185

186186
struct RtComponentPropertySpec {
187-
static inline const std::string kUsdNamePrefix = "lightspeed.trex.components.";
187+
static inline const std::string kUsdNamePrefix = "lightspeed.trex.logic.";
188188

189189
RtComponentPropertyType type;
190190
RtComponentPropertyValue defaultValue;

src/ogn/lightspeed.trex.components/AnimatedFloat.ogn renamed to src/ogn/lightspeed.trex.logic/AnimatedFloat.ogn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lightspeed.trex.components.AnimatedFloat": {
2+
"lightspeed.trex.logic.AnimatedFloat": {
33
"description": ["A single animated float value."],
44
"version": 1,
55
"uiName": "Animated Float",
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# GENERATED FILE - DO NOT EDIT
2-
# This file is a stub for OmniGraph editor compatibility, and is not used by the Remix Runtime.
3-
from __future__ import annotations
4-
5-
from typing import TYPE_CHECKING
6-
7-
if TYPE_CHECKING:
8-
from lightspeed.trex.components.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
9-
10-
11-
class AnimatedFloat:
12-
@staticmethod
13-
def compute(_db: OgnTemplateNodePyDatabase):
14-
return True
1+
# GENERATED FILE - DO NOT EDIT
2+
# This file is a stub for OmniGraph editor compatibility, and is not used by the Remix Runtime.
3+
from __future__ import annotations
4+
5+
from typing import TYPE_CHECKING
6+
7+
if TYPE_CHECKING:
8+
from lightspeed.trex.logic.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
9+
10+
11+
class AnimatedFloat:
12+
@staticmethod
13+
def compute(_db: OgnTemplateNodePyDatabase):
14+
return True

src/ogn/lightspeed.trex.components/BoxProximity.ogn renamed to src/ogn/lightspeed.trex.logic/BoxProximity.ogn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lightspeed.trex.components.BoxProximity": {
2+
"lightspeed.trex.logic.BoxProximity": {
33
"description": ["Calculates the signed distance from a world position to a mesh's bounding box. Positive values indicate the point is outside the bounding box. Note that the output is in object space."],
44
"version": 1,
55
"uiName": "Box Proximity",

src/ogn/lightspeed.trex.components/BoxProximity.py renamed to src/ogn/lightspeed.trex.logic/BoxProximity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import TYPE_CHECKING
66

77
if TYPE_CHECKING:
8-
from lightspeed.trex.components.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
8+
from lightspeed.trex.logic.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
99

1010

1111
class BoxProximity:

src/ogn/lightspeed.trex.components/Camera.ogn renamed to src/ogn/lightspeed.trex.logic/Camera.ogn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lightspeed.trex.components.Camera": {
2+
"lightspeed.trex.logic.Camera": {
33
"description": ["Outputs current camera properties including position, orientation vectors, and projection parameters. Uses free camera when both 'rtx.camera.useFreeCameraForComponents' and free camera are enabled."],
44
"version": 1,
55
"uiName": "Camera",

src/ogn/lightspeed.trex.components/Camera.py renamed to src/ogn/lightspeed.trex.logic/Camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import TYPE_CHECKING
66

77
if TYPE_CHECKING:
8-
from lightspeed.trex.components.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
8+
from lightspeed.trex.logic.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
99

1010

1111
class Camera:

src/ogn/lightspeed.trex.components/InterpolateFloat.ogn renamed to src/ogn/lightspeed.trex.logic/InterpolateFloat.ogn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lightspeed.trex.components.InterpolateFloat": {
2+
"lightspeed.trex.logic.InterpolateFloat": {
33
"description": ["Interpolates a value from an input range to an output range with optional easing. \nCombines normalization (reverse LERP), easing, and mapping (LERP) into a single component. \n\nNote input values outside of input range are valid, and that easing can lead to the output value being outside of the output range even when input is inside the input range.\nInverted input ranges (Input Max < Input Min) are supported - the min/max will be swapped and the normalized value inverted."],
44
"version": 1,
55
"uiName": "Interpolate Float",

src/ogn/lightspeed.trex.components/InterpolateFloat.py renamed to src/ogn/lightspeed.trex.logic/InterpolateFloat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import TYPE_CHECKING
66

77
if TYPE_CHECKING:
8-
from lightspeed.trex.components.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
8+
from lightspeed.trex.logic.ogn.ogn.OgnTemplateNodePyDatabase import OgnTemplateNodePyDatabase
99

1010

1111
class InterpolateFloat:

0 commit comments

Comments
 (0)