stageEventType#
Fully qualified name: omni::usd::stageEventType
- inline carb::cpp::optional<StageEventType> omni::usd::stageEventType( ) noexcept#
Parses the StageEventType from a stage event RString.
- Parameters:
event – The event name, typically generated from
stageEventName().pContext – May be
nullptr. If notnullptrand a validoptionalis returned, this will receive the USD context name parsed from the event name. Ifcarb::cpp::nulloptis returned, the pointed atstring_viewis in an unspecified state.
- Returns:
A valid
optionalcontaining the determinedStageEventTypeif parsing is successful. Otherwise,carb::cpp::nulloptis returned to indicate that the given event name is not a valid stage event name.