Gist dc420281117ae336a18c1bf3069fc932
✓ Published0🌍 Public
Aandybak
Last edited Feb 9, 2021
Created on Feb 9, 2021
This example demonstrates how to create a parametric stroke in Tilt Brush using a tool script. It shows the instantiation of a `CircleCreator` attached to the active canvas, followed by the creation of a new line through the `PointerScript` and the setting of a keeper control point. The code relies on Tilt Brush’s `App.Scene.ActiveCanvas`, `ParametricStrokeCreator`, and `PointerManager.m_Instance` APIs to drive the pointer interaction, defining the stroke’s geometry and capturing it as a persistent element.
AI-generated description