public sealed struct Sandbox.Resources.ResourceGenerator.Options
Related Guides
Broader workflow and conceptual references connected to this API.
You can record gameplay into a MovieClip, which can be played back or imported into Movie Maker for editing. This could be useful for killcams in shooters, leaderboard replays in racing games, or for capturing gameplay to edit into a trailer.
In the editor Textures can be generated in a number of ways. They can be created from an image (which is pretty normal), or a color, or a gradient, or text, or SVG source. These are called texture generators.
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.
You can create links by adding a NavMeshLink Component to an GameObject.
Networked GameObjects can be owned by a connection.
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:
Properties
Showing 3 properties
public Sandbox.Resources.ResourceCompiler Sandbox.Resources.ResourceGenerator.Options.Compiler { get; set; }
Will be set to the compiler that is currently compiling this resource. Or null, if we're generating in another method.
public static Sandbox.Resources.ResourceGenerator.Options Sandbox.Resources.ResourceGenerator.Options.Default { get; set; }
public bool Sandbox.Resources.ResourceGenerator.Options.ForDisk { get; set; }
True if we're compiling this resource to write to disk
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Resources.ResourceGenerator.Options |