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 automatically managed and should not be directly modified or accessed in most cases. It is hidden from the editor and ignored during JSON serialization, indicating that it is not intended for direct use in typical application scenarios.
// Example of accessing the NameHash property Surface mySurface = new Surface(); uint hash = mySurface.NameHash; // Note: Direct manipulation or reliance on NameHash is not recommended.