ARTrackedRaycast¶
Inherits: RefCounted < Object
A continuously-tracked raycast that updates as the scene evolves.
Description¶
Created by ARSession.tracked_raycast(). Continuously refines raycast results as ARKit learns more about the environment. Call stop_tracking() to end. iOS only. On visionOS/macOS, ARSession.tracked_raycast() always returns null.
Properties¶
bool |
|
Methods¶
void |
Property Descriptions¶
bool is_tracking = false 🔗
void set_is_tracking(value: bool)
bool get_is_tracking()
Whether the tracked raycast is still active and producing updates.
Method Descriptions¶
void stop_tracking() 🔗
Stops the tracked raycast and prevents further callback updates.