omni.flux.stage_manager.plugin.listener.usd#
SPDX-FileCopyrightText: Copyright (c) 2024 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
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 omni.flux.stage_manager.plugin.listener.usd.extension.StageManagerUSDListenerPluginsExtension#
SPDX-FileCopyrightText: Copyright (c) 2024 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
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.
- pydantic model omni.flux.stage_manager.plugin.listener.usd.layers_listener.StageManagerUSDLayersListenerPlugin#
A listener triggered whenever a layer event is triggered.
- Config:
arbitrary_types_allowed: bool = True
- Fields:
- field event_type: type[LayerEventType] [Optional]#
- cleanup()#
Cleanup the listeners’ subscriptions.
- model_post_init(
- context: Any,
- /,
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- setup()#
A method called during the context initialization to initialize the listener
- name: ClassVar[str] = 'StageManagerUSDLayersListenerPlugin'#
SPDX-FileCopyrightText: Copyright (c) 2024 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
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.
- pydantic model omni.flux.stage_manager.plugin.listener.usd.stage_listener.StageManagerUSDStageListenerPlugin#
A listener triggered whenever a stage event is triggered.
- Config:
arbitrary_types_allowed: bool = True
- Fields:
- field event_type: type[StageEventType] [Optional]#
- cleanup()#
Cleanup the listeners’ subscriptions.
- model_post_init(
- context: Any,
- /,
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- setup()#
A method called during the context initialization to initialize the listener
- name: ClassVar[str] = 'StageManagerUSDStageListenerPlugin'#
SPDX-FileCopyrightText: Copyright (c) 2024 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
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.
- pydantic model omni.flux.stage_manager.plugin.listener.usd.usd_listener.StageManagerUSDNoticeListenerPlugin#
Listener triggered whenever a USD notice is broadcast.
- Config:
arbitrary_types_allowed: bool = True
- Fields:
- field event_type: type[ObjectsChanged] [Optional]#
- cleanup()#
Revoke the shared USD notice listener.
- model_post_init(
- context: Any,
- /,
This function is meant to behave like a BaseModel method to initialize private attributes.
It takes context as an argument since that’s what pydantic-core passes when calling it.
- Parameters:
self – The BaseModel instance.
context – The context.
- setup()#
Register the shared USD notice listener for the configured context.
- name: ClassVar[str] = 'StageManagerUSDNoticeListenerPlugin'#