Actor GetSourceActor() const;
/**
+ * @brief Retrives stopper actor.
+ * @SINCE_2_3.23
+ * @return The actor that marks where to stop rendering.
+ */
+ Actor GetStopperActor() const;
+
+ /**
* @brief Sets whether the RenderTask has exclusive access to the source actors; the default is false.
* @SINCE_1_0.0
* @param[in] exclusive True if the source actors will only be rendered by this render-task
*/
int32_t GetOrderIndex() const;
+ /**
+ * @brief Get the unique id of RenderTask. It could be 0 given render task is invalid.
+ *
+ * @SINCE_2_3.10
+ * @return The unique id of RenderTask, or 0 if invalid.
+ */
+ uint32_t GetRenderTaskId() const;
+
+ /**
+ * @brief Stop rendering from given actor. The actor is not included.
+ * @SINCE_2_3.23
+ * @param[in] stopperActor A marker to stop rendering.
+ */
+ void RenderUntil(Actor stopperActor);
+
public: // Signals
/**
* @brief If the refresh rate is REFRESH_ONCE, connect to this signal to be notified when a RenderTask has finished.