Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Stroke

Strokes the currently defined path.
Read time 1 minuteLast updated 6 days ago

Definition

Stroke()

Strokes the currently defined path.
public void Stroke()

Stroke(int)

Strokes the currently defined path and tags every resulting DrawData with the given user identifier, surfaced on
DrawData.userData
in mesh modifiers.
public void Stroke(int userData)

Parameters

userData

User-defined identifier propagated to every DrawData produced by this stroke.