setStageTimeCode#

Fully qualified name: isaacsim::foundation::usd::openusd::setStageTimeCode

void isaacsim::foundation::usd::openusd::setStageTimeCode(
int64_t stageId,
std::optional<float> startTimeCode = std::nullopt,
std::optional<float> endTimeCode = std::nullopt,
std::optional<float> timeCodesPerSecond = std::nullopt,
)#

Sets the stage’s time code range and rate.

Parameters:
  • stageId – [in] Stage to modify.

  • startTimeCode – [in] Start of the animation range. Unchanged if nullopt.

  • endTimeCode – [in] End of the animation range. Unchanged if nullopt.

  • timeCodesPerSecond – [in] Playback rate in time codes per second. Unchanged if nullopt.