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.
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.
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 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.