s&box docs
API ReferenceSandbox.UI

public sealed struct Sandbox.UI.PanelTransform

Methods

Showing 13 methods

public bool AddMatrix3D(Matrix matrix)

public bool AddPerspective(Sandbox.UI.Length d)

public bool AddSkew(float x, float y, float z)

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)

Parameters

  • lengthZ: Default: null

public bool AddTranslateX(System.Nullable`1<Sandbox.UI.Length> length)

public bool AddTranslateY(System.Nullable`1<Sandbox.UI.Length> length)

public bool AddTranslateZ(System.Nullable`1<Sandbox.UI.Length> length)

public Matrix BuildTransform(float width, float height, Vector2 perspectiveOrigin)

public bool IsEmpty()

Returns true if this is empty.

Properties

Showing 1 properties

Metadata

FieldValue
NamespaceSandbox.UI
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.UI.PanelTransform

On this page