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 |
|---|---|---|
| MemberHandle | memberHandle | |
| System.Int32 | materialIndex | |
| System.Nullable<System.Guid> | guid |
Properties
Guid
The uuid or guid representing this material
Declaration
public Guid? Guid { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Guid> |
Member
The member this material is on
Declaration
public MemberHandle Member { get; }
Property Value
| Type | Description |
|---|---|
| MemberHandle |
Methods
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
Finalize()
Declaration
protected void Finalize()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()