s&box docs

public class Sandbox.SceneFile : Sandbox.GameResource

A scene file contains a collection of GameObject with Components and their properties.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 2 methods

protected virtual Sandbox.Bitmap CreateAssetTypeIcon(int width, int height)

public string GetMetadata(string title, string defaultValue = null)

Parameters

  • defaultValue: Default: null

Properties

Showing 8 properties

protected virtual object Sandbox.SceneFile.ActionGraphTarget { get; set; }

protected virtual System.Type Sandbox.SceneFile.ActionGraphTargetType { get; set; }

public string Sandbox.SceneFile.Description { get; set; }Obsolete

Obsolete: Use GetMetadata

public System.Text.Json.Nodes.JsonObject[] Sandbox.SceneFile.GameObjects { get; set; }

public System.Guid Sandbox.SceneFile.Id { get; set; }

public virtual int Sandbox.SceneFile.ResourceVersion { get; set; }

public System.Text.Json.Nodes.JsonObject Sandbox.SceneFile.SceneProperties { get; set; }

public string Sandbox.SceneFile.Title { get; set; }Obsolete

Obsolete: Use GetMetadata

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.SceneFile

On this page