Show / Hide Table of Contents

Struct BrushTransform

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine.Experimental.TerrainAPI
Assembly: UnityEngine.dll
Syntax
public struct BrushTransform

Constructors

| Improve this Doc View Source

BrushTransform(Vector2, Vector2, Vector2)

Declaration
public BrushTransform(Vector2 brushOrigin, Vector2 brushU, Vector2 brushV)
Parameters
Type Name Description
Vector2 brushOrigin
Vector2 brushU
Vector2 brushV

Properties

| Improve this Doc View Source

brushOrigin

Declaration
public Vector2 brushOrigin { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

brushU

Declaration
public Vector2 brushU { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

brushV

Declaration
public Vector2 brushV { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

targetOrigin

Declaration
public Vector2 targetOrigin { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

targetX

Declaration
public Vector2 targetX { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

targetY

Declaration
public Vector2 targetY { get; }
Property Value
Type Description
Vector2

Methods

| Improve this Doc View Source

FromBrushUV(Vector2)

Declaration
public Vector2 FromBrushUV(Vector2 brushUV)
Parameters
Type Name Description
Vector2 brushUV
Returns
Type Description
Vector2
| Improve this Doc View Source

FromRect(Rect)

Declaration
public static BrushTransform FromRect(Rect brushRect)
Parameters
Type Name Description
Rect brushRect
Returns
Type Description
BrushTransform
| Improve this Doc View Source

GetBrushXYBounds()

Declaration
public Rect GetBrushXYBounds()
Returns
Type Description
Rect
| Improve this Doc View Source

ToBrushUV(Vector2)

Declaration
public Vector2 ToBrushUV(Vector2 targetXY)
Parameters
Type Name Description
Vector2 targetXY
Returns
Type Description
Vector2

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX