ComponentID
ComponentId Struct
Encapsulates a Component Id.
Syntax
public struct ComponentId
Member Details
Equals Method
Value comparison for ComponentId.
SyntaxParameters
obj
The object to compare.
Returns
true if the argument is a ComponentId and has the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
GetHashCode Method
Retrieves the hash code for this instance.
Syntaxpublic override int GetHashCode ()
Returns
The hash code for this instance.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Invalid Field
The invalid id object.
Syntax
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
ObjectId Property
Syntaxpublic ObjectId ObjectId { get; }
Value
The is exactly 1 ObjectId associated with each ComponentId.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
op_Equality Method
ComponentId equality operator.
SyntaxParameters
a
First ComponentId to compare.
b
Second ComponentId to compare.
Returns
true if the ComponentIds have the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Conversion Method
Internal explicit conversion from a ulong.
SyntaxParameters
id
A ulong representation of an ComponentId
Returns
A new ComponentId initialized with the given ulong.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
op_Inequality Method
ComponentId inequality operator.
SyntaxParameters
a
First ComponentId to compare.
b
Second ComponentId to compare.
Returns
true if the ComponentIds have a different value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
ToString Method
Converts the id to a hexadecimal string representation.
Syntaxpublic override string ToString ()
Returns
The hexadecimal string representation.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Last updated