API ReferenceSandbox
SceneFileclass
A scene file contains a collection of GameObject with Components and their properties.
Constructors1
Showing 1 constructors
public SceneFile()
No results match this filter.
Methods3
Showing 3 methods
protected virtual Sandbox.Bitmap CreateAssetTypeIcon(int width, int height)
| Parameter | Type | Description |
|---|---|---|
| width | int | — |
| height | int | — |
public string GetMetadata(string title, string defaultValue = null)
| Parameter | Type | Description |
|---|---|---|
| title | string | — |
| defaultValue = null | string | — |
Returns:
string—No results match this filter.
Properties8
Showing 8 properties
protected virtual object Sandbox.SceneFile.ActionGraphTarget { get; set; }
Returns:
object—public string Sandbox.SceneFile.Description { get; set; }
Obsolete: Use GetMetadata
Returns:
string—public System.Text.Json.Nodes.JsonObject[] Sandbox.SceneFile.GameObjects { get; set; }
Returns:
JsonObject[]—public System.Guid Sandbox.SceneFile.Id { get; set; }
Returns:
Guid—public virtual int Sandbox.SceneFile.ResourceVersion { get; set; }
Returns:
int—No results match this filter.