public class Editor.Option : Editor.QObject
Related Guides
Broader workflow and conceptual references connected to this API.
You can find information about how to install and use SteamCMD here <https://developer.valvesoftware.com/wiki/SteamCMD> to install the s&box Dedicated Server.
When creating a Tool or Editor Project, it's common to want to be able to trigger certain actions with a key press or combined keystroke (Like O to enter Object Mode, or SHIFT+B to enter the Block Tool).
The video will be rendered from the perspective of any active camera in the scene. You should therefore control camera motion using tracks in your movie project. You can also use tracks to toggle which cameras are enabled in the scene, if necessary.
These quality guidelines will help you through the process of creating clothing that stands a better chance of being accepted for sale on the s&box store.
An important part of s&box being a modern game platform is allowing the developers that use it to make money from it.
If you want to add your own templates to the GameObject Create menu, it's as simple as enabling "Show In Menu" on a Prefab File:
Constructors
Showing 3 constructors
No results match this filter.
Methods
Showing 3 methods
protected virtual void OnToggled(bool b)
Called when this option was toggled.
protected virtual void OnTriggered()
Called when this option was clicked..
public void SetIcon(Editor.Pixmap pixmap)
Sets an icon for the option via a raw image.
No results match this filter.
Properties
Showing 13 properties
public bool Editor.Option.Checkable { get; set; }
Whether this option is a toggle option. `Editor.Option.Checked`.
public bool Editor.Option.Checked { get; set; }
Whether this option is toggled/checked. `Editor.Option.Checkable`.
public bool Editor.Option.Enabled { get; set; }
Whether this option can be clicked. Will also be visually different.
public string Editor.Option.Icon { get; set; }
The icon for this option.
public string Editor.Option.IconText { get; set; }
Text to display if `Editor.Option.Text` is empty.
public string Editor.Option.Shortcut { get; set; }Obsolete
Obsolete: Please use ShortcutName, which takes a shortcut ident (such as editor.save) instead of keys (such as CTRL+S).
public string Editor.Option.ShortcutName { get; set; }
public string Editor.Option.StatusText { get; set; }Obsolete
Obsolete: Use StatusTip
public string Editor.Option.StatusTip { get; set; }
public string Editor.Option.Text { get; set; }
Text for this option.
public string Editor.Option.ToolTip { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.Option |