System.UInt32 NameHash { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The NameHash property of the Surface class represents a unique identifier for the surface name, stored as an unsigned 32-bit integer. This property is primarily used internally to efficiently compare and manage surface names.

Usage

The NameHash property is marked with the HideAttribute and JsonIgnoreAttribute, indicating that it is not intended to be visible in the editor or serialized in JSON. It is used internally by the engine and should not be accessed or modified directly in most cases.

Example

// Example of accessing the NameHash property
// Note: This property is hidden and typically not accessed directly.

Surface mySurface = new Surface();
uint hash = mySurface.NameHash;
// Use the hash for internal logic or debugging purposes.