lightspeed.trex.properties_pane.logic.widget#

  • SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

  • SPDX-License-Identifier: Apache-2.0

  • Licensed under the Apache License, Version 2.0 (the “License”);

  • you may not use this file except in compliance with the License.

  • You may obtain a copy of the License at

  • https://www.apache.org/licenses/LICENSE-2.0

  • Unless required by applicable law or agreed to in writing, software

  • distributed under the License is distributed on an “AS IS” BASIS,

  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  • See the License for the specific language governing permissions and

  • limitations under the License.

class lightspeed.trex.properties_pane.logic.widget.LogicPropertyWidget(
context_name: str,
tree_column_widths: list[Length] | None = None,
columns_resizable: bool = False,
right_aligned_labels: bool = True,
lookup_table: dict[str, dict[str, str]] | None = None,
field_builders: list[FieldBuilder] | None = None,
show_node_properties: bool = True,
layer_transfer_menu_fn: Callable[[Any, Any, list[PropertySpec], set[str], bool], None] | None = None,
logic_graph_transfer_fn: Callable[[Prim], None] | None = None,
)#

Properties panel for Remix Logic graph management and graph node prim types.

destroy() → None#

Clean up listeners and UI Widgets.

refresh(
prims: list[Prim] | None = None,
valid_target_prims: list[Prim] | None = None,
)#

Refresh the panel with the given prims

Parameters:
  • prims – The prims to display properties for

  • valid_target_prims – Valid target prims for creating logic graphs

show(value: bool) → None#

Show the panel or not

Parameters:

value – Visible or not

subscribe_refresh_done(
callback,
) → EventSubscription#

Return the object that will automatically unsubscribe when destroyed.