Version 3.3.0.1

SdfUvRect struct

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.Utilities.Editor
public struct SdfUvRect

Constructors

SdfUvRect(Single, Single, Single, Single)
public SdfUvRect(float left, float top, float right, float bottom)
Parameters
System.Single left

System.Single top

System.Single right

System.Single bottom

SdfUvRect(Vector4)
public SdfUvRect(Vector4 v4)
Parameters
UnityEngine.Vector4 v4

Fields

Bottom
public float Bottom
Identity
public static readonly SdfUvRect Identity
Left
public float Left
Right
public float Right
TL
public Vector2 TL
Top
public float Top
V4
public Vector4 V4
W
public float W
X
public float X
Y
public float Y
Z
public float Z

Properties

Center
public Vector2 Center { get; }
Height
public float Height { get; set; }
Width
public float Width { get; set; }

Methods

Mul(SdfUvRect)
public SdfUvRect Mul(SdfUvRect uv)
Parameters
SdfUvRect uv

Returns
SdfUvRect

Operators

Multiply(SdfUvRect, Vector2)
public static Vector2 operator *(SdfUvRect region, Vector2 uv)
Parameters
SdfUvRect region

UnityEngine.Vector2 uv

Returns
UnityEngine.Vector2