API ReferenceSandbox.UIAPI Reference/Sandbox.UI/ShadowShadowclassShadow style settingsobject→ShadowNamespaceSandbox.UIAssemblySandbox.SystemDeclarationpublic sealed struct Sandbox.UI.ShadowMethods2Search methodsShowing 2 methodspublic Sandbox.UI.Shadow LerpTo(Sandbox.UI.Shadow shadow, float delta)PUBLICPerform linear interpolation between 2 shadows.ParameterTypeDescriptionshadowShadowThe target shadow to morph into.deltafloatProgress of the transformation. 0 = original shadow, 1 = fully target shadow.Returns:ShadowThe interpolated shadow.public Sandbox.UI.Shadow Scale(float f)PUBLICScale all variables by given scalar.ParameterTypeDescriptionffloatHow much to scale the shadow parameters by. 1 is no change, 2 is double the sizes, etc.Returns:ShadowThe scaled shadow.No results match this filter.Related Guides→Light→Style PropertiesSelectionEvent.ctor()Previous PageLerpTo()Next Page
public Sandbox.UI.Shadow LerpTo(Sandbox.UI.Shadow shadow, float delta)PUBLICPerform linear interpolation between 2 shadows.ParameterTypeDescriptionshadowShadowThe target shadow to morph into.deltafloatProgress of the transformation. 0 = original shadow, 1 = fully target shadow.Returns:ShadowThe interpolated shadow.
public Sandbox.UI.Shadow Scale(float f)PUBLICScale all variables by given scalar.ParameterTypeDescriptionffloatHow much to scale the shadow parameters by. 1 is no change, 2 is double the sizes, etc.Returns:ShadowThe scaled shadow.