Guid Id { get; set; }

robot_2Generated
code_blocksInput

Description

The Id property of the SceneFile class represents a unique identifier for a scene file. This identifier is of type System.Guid and is used to uniquely distinguish each scene file within the Sandbox environment. The property is decorated with the JsonPropertyName attribute, which specifies that the JSON representation of this property should use the name __guid.

Usage

To access the Id property, you need to have an instance of the SceneFile class. You can then retrieve the unique identifier for the scene file using this property. This is particularly useful when you need to reference or manage specific scene files programmatically.

Example

// Example of accessing the Id property of a SceneFile instance

// Assume sceneFile is an instance of SceneFile
SceneFile sceneFile = new SceneFile();

// Retrieve the unique identifier for the scene file
Guid sceneId = sceneFile.Id;

// Output the Id
// Note: Avoid using Console.WriteLine in Sandbox environment
// Instead, use the Id for further processing or logging
// Example: Log.Info($"Scene ID: {sceneId}");