StepAttributeclass

Mark this property as a stepped value, where the value can only be set to multiples of the step value.

objectAttributeStepAttribute
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public class Sandbox.StepAttribute : System.Attribute

Constructors1

Showing 1 constructors

public StepAttribute(float step)PUBLICCONSTRUCTOR

ParameterTypeDescription
stepfloat

Properties1

Showing 1 properties

public float Sandbox.StepAttribute.Step { get; set; }PUBLICGETSET

Returns:float

On this page