API ReferenceSandbox.UI

PanelTransformclass

objectPanelTransform
Namespace
Sandbox.UI
Assembly
Sandbox.System
Declaration
public sealed struct Sandbox.UI.PanelTransform

Methods13

Showing 13 methods

public bool AddMatrix3D(Matrix matrix)PUBLIC

ParameterTypeDescription
matrixMatrix
Returns:bool

public bool AddPerspective(Sandbox.UI.Length d)PUBLIC

ParameterTypeDescription
dLength
Returns:bool

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

ParameterTypeDescription
xfloat
yfloat
zfloat
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)PUBLIC

ParameterTypeDescription
lengthXNullable<Length>
lengthYNullable<Length>
lengthZ = nullNullable<Length>
Returns:bool

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

ParameterTypeDescription
lengthNullable<Length>
Returns:bool

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

ParameterTypeDescription
lengthNullable<Length>
Returns:bool

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

ParameterTypeDescription
lengthNullable<Length>
Returns:bool

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

ParameterTypeDescription
widthfloat
heightfloat
perspectiveOriginVector2
Returns:Matrix

public bool IsEmpty()PUBLIC

Returns true if this is empty.

Returns:bool

Properties1

Showing 1 properties

public int Sandbox.UI.PanelTransform.Entries { get; set; }PUBLICGETSET

Returns:int

On this page