new_stage
- omni.kit.stage_template.core.stage_core.new_stage(on_new_stage_fn=None, template='empty', usd_context=None)
Execute new_stage
- Parameters
on_new_stage_fn (Optional[callable]) – Callback function to be called when new stage is created.
template (str) – Template name. If not specified, the default template is used.
usd_context (Optional[
omni.usd.UsdContext
]) – The UsdContext to create a new stage in. If not provided, the current context is used.