文档

Unity Engine

Unity Engine

GetBrushOffset(int, int)

Gets the brush offset within the brush bounds.
阅读时间1 分钟最后更新于 2 小时前

Definition

public Vector2Int GetBrushOffset(int xPos, int yPos)

Parameters

xPos

The x position within brush bounds.

yPos

The y position within brush bounds.

Returns

Type

Description

Vector2IntReturns the brush offset.