struct Shadow

in global :: Sandbox . UI

Shadow style settings


public float OffsetX

Shadow offset on the X axis.

public float OffsetY

Shadow offset on the Y axis.

public float Blur

Amount of blurring for the shadow.

public float Spread

Increases the box size by this much before starting shadow blur. Box shadows only.

public bool Inset

Whether or not this shadow is inset. Box shadows only.

public Color Color

Color of the shadow.

public Shadow Scale( float f )

Scale all variables by given scalar.

  • f How much to scale the shadow parameters by. 1 is no change, 2 is double the sizes, etc.
  • Returns The scaled shadow.

public Shadow LerpTo( Shadow shadow, float delta )

Perform linear interpolation between 2 shadows.

  • shadow The target shadow to morph into.
  • delta Progress of the transformation. 0 = original shadow, 1 = fully target shadow.
  • Returns The interpolated shadow.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.