Class MaterialHandle
A handle specifically for materials.
Inheritance
System.Object
MaterialHandle
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class MaterialHandle
Constructors
MaterialHandle(MemberHandle, Int32, Nullable<Guid>)
Create a new material handle from a member handle, index of the material, and guid. Both the materialIndex and the guid must be correct.
Declaration
public MaterialHandle(MemberHandle memberHandle, int materialIndex, Guid? guid)
Parameters
Type | Name | Description |
---|---|---|
Member |
memberHandle | |
System. |
materialIndex | |
System. |
guid |
Properties
Guid
The uuid or guid representing this material
Declaration
public Guid? Guid { get; }
Property Value
Type | Description |
---|---|
System. |
Member
The member this material is on
Declaration
public MemberHandle Member { get; }
Property Value
Type | Description |
---|---|
Member |
Methods
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System. |
disposing |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.Equals(System.Object)
Finalize()
Declaration
protected void Finalize()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.GetHashCode()