API ReferenceSandbox.UI
PanelTransformclass
object→PanelTransform
Methods13
Showing 13 methods
public bool AddSkew(float x, float y, float z)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
| y | float | — |
| z | float | — |
Returns:
bool—public bool AddTranslate(System.Nullable`1<Sandbox.UI.Length> lengthX, System.Nullable`1<Sandbox.UI.Length> lengthY, System.Nullable`1<Sandbox.UI.Length> lengthZ = null)
| Parameter | Type | Description |
|---|---|---|
| lengthX | Nullable<Length> | — |
| lengthY | Nullable<Length> | — |
| lengthZ = null | Nullable<Length> | — |
Returns:
bool—public bool AddTranslateX(System.Nullable`1<Sandbox.UI.Length> length)
| Parameter | Type | Description |
|---|---|---|
| length | Nullable<Length> | — |
Returns:
bool—public bool AddTranslateY(System.Nullable`1<Sandbox.UI.Length> length)
| Parameter | Type | Description |
|---|---|---|
| length | Nullable<Length> | — |
Returns:
bool—public bool AddTranslateZ(System.Nullable`1<Sandbox.UI.Length> length)
| Parameter | Type | Description |
|---|---|---|
| length | Nullable<Length> | — |
Returns:
bool—public Matrix BuildTransform(float width, float height, Vector2 perspectiveOrigin)
| Parameter | Type | Description |
|---|---|---|
| width | float | — |
| height | float | — |
| perspectiveOrigin | Vector2 | — |
public bool IsEmpty()
Returns true if this is empty.
Returns:
bool—No results match this filter.
Properties1
Showing 1 properties
public int Sandbox.UI.PanelTransform.Entries { get; set; }
Returns:
int—No results match this filter.