Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBrushOffset(int, int)

Gets the brush offset within the brush bounds.
Read time 1 minuteLast updated 12 days ago

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.