DrawVectorImage
Draws a VectorImage asset.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
DrawVectorImage(VectorImage, Vector2, Angle, Vector2)
Draws a VectorImage asset.
public void DrawVectorImage(VectorImage vectorImage, Vector2 offset, Angle rotationAngle, Vector2 scale)
Parameters
The vector image to draw.
The position offset where to draw the vector image.
The rotation of the vector image.
The scale of the vector image
DrawVectorImage(VectorImage, Vector2, Angle, Vector2, int)
Draws a VectorImage asset and tags the resulting draw with a user-defined identifier surfaced on in mesh modifiers.
DrawData.userDatapublic void DrawVectorImage(VectorImage vectorImage, Vector2 offset, Angle rotationAngle, Vector2 scale, int userData)
Parameters
The vector image to draw.
The position offset where to draw the vector image.
The rotation of the vector image.
The scale of the vector image
User-defined identifier surfaced on .
DrawData.userData