Struct BrushTransform
Assembly: UnityEngine.dll
public struct BrushTransform
Constructors
|
Improve this Doc
View Source
Declaration
public BrushTransform(Vector2 brushOrigin, Vector2 brushU, Vector2 brushV)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public Vector2 brushOrigin { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 brushU { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 brushV { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 targetOrigin { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 targetX { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 targetY { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public Vector2 FromBrushUV(Vector2 brushUV)
Parameters
Type |
Name |
Description |
Vector2 |
brushUV |
|
Returns
|
Improve this Doc
View Source
Declaration
public static BrushTransform FromRect(Rect brushRect)
Parameters
Type |
Name |
Description |
Rect |
brushRect |
|
Returns
|
Improve this Doc
View Source
Declaration
public Rect GetBrushXYBounds()
Returns
|
Improve this Doc
View Source
Declaration
public Vector2 ToBrushUV(Vector2 targetXY)
Parameters
Type |
Name |
Description |
Vector2 |
targetXY |
|
Returns
Extension Methods