Description
The Index
property of the Surface
class represents an integer value that uniquely identifies a surface within the context of the Sandbox environment. This property is primarily used internally and is not intended for direct manipulation or display in user interfaces.
Usage
The Index
property is automatically managed by the Sandbox engine and should not be modified directly. It is marked with the HideAttribute
and JsonIgnoreAttribute
, indicating that it is hidden from the editor and ignored during JSON serialization.
Example
// Accessing the Index property of a Surface instance
Surface mySurface = new Surface();
int surfaceIndex = mySurface.Index;
// Note: The Index property is read-only and managed by the engine.