public sealed class Sandbox.Internal.IControlSheet.Feature
A feature is usually displayed as a tab, to break things up in the inspector. They can sometimes be turned on and off.
Related Guides
Broader workflow and conceptual references connected to this API.
You can add attributes to your Component's properties in C# to change how they look in the editor/inspector.
This section needs to be rewritten with an explanation of all the code, libraries, etc.
If you're just opting for default Vertex and Pixel inputs which are usable on the default shading model, these are the reference member variables for each:
S&box uses a scene system to create games. We feel this is the easiest system for people to pick up, while still being powerful.
Facepunch provides some ready-to-use first-person weapons for you!
S&box is coded in C#. Under the hood, it uses the Source 2 engine (CS2, HL:Alyx, DOTA2) and some of its systems: rendering, resources, physics, and audio.
Constructors
Showing 1 constructors
public Feature(System.Collections.Generic.List`1<Sandbox.SerializedProperty> properties)
No results match this filter.
Properties
Showing 6 properties
public string Sandbox.Internal.IControlSheet.Feature.Description { get; set; }
The description of the feature
public Sandbox.SerializedProperty Sandbox.Internal.IControlSheet.Feature.EnabledProperty { get; set; }
If we have a FeatureEnabled property, this will be it. If not then we assume it should always be enabled.
public string Sandbox.Internal.IControlSheet.Feature.Icon { get; set; }
The icon of the feature
public string Sandbox.Internal.IControlSheet.Feature.Name { get; set; }
The name of the feature, usually displayed as a tab title in the inspector.
public System.Collections.Generic.List`1<Sandbox.SerializedProperty> Sandbox.Internal.IControlSheet.Feature.Properties { get; set; }
The properties that are part of this feature, usually displayed together in the inspector.
public Sandbox.EditorTint Sandbox.Internal.IControlSheet.Feature.Tint { get; set; }
Allows tinting this feature, for some reason
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Reflection |
| Doc ID | T:Sandbox.Internal.IControlSheet.Feature |