Class RaycastableRect
Namespace: Unity.UIWidgets.engine.raycast
Syntax
public class RaycastableRect
Fields
bottom
Declaration
public float bottom
Field Value
| Type | Description |
|---|---|
| Single |
left
Declaration
public float left
Field Value
| Type | Description |
|---|---|
| Single |
right
Declaration
public float right
Field Value
| Type | Description |
|---|---|
| Single |
top
Declaration
public float top
Field Value
| Type | Description |
|---|---|
| Single |
Properties
isDirty
Declaration
public bool isDirty { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Methods
CheckInRect(Vector2)
Declaration
public bool CheckInRect(Vector2 pos)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | pos |
Returns
| Type | Description |
|---|---|
| Boolean |
MarkDirty()
Declaration
public void MarkDirty()
UnmarkDirty()
Declaration
public void UnmarkDirty()
UpdateRect(Single, Single, Single, Single)
Declaration
public void UpdateRect(float left, float top, float width, float height)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | left | |
| Single | top | |
| Single | width | |
| Single | height |