Api Sandbox UI MixinParameter
struct

MixinParameter

public sealed struct MixinParameter

A single parameter in a mixin definition.

Constructors

MixinParameter(String name, String defaultValue, Boolean isVariadic)

A single parameter in a mixin definition.

Fields

Name Type Description
Name String Parameter name without the $ prefix (and without ... for variadic)
DefaultValue String Default value, or null if the parameter is required
IsVariadic Boolean Whether this is a variadic parameter (collects remaining arguments)
Assembly: Sandbox.Engine Namespace: Sandbox.UI Full Name: Sandbox.UI.MixinParameter