Class MaterialHandle
A handle specifically for materials.
Inherited Members
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class MaterialHandle
Constructors
MaterialHandle(MemberHandle, int, 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 | |
int | materialIndex | |
Guid? | guid |
Properties
Guid
The uuid or guid representing this material
Declaration
public Guid? Guid { get; }
Property Value
Type | Description |
---|---|
Guid? |
Member
The member this material is on
Declaration
public MemberHandle Member { get; }
Property Value
Type | Description |
---|---|
MemberHandle |
Methods
Dispose(bool)
A handle specifically for materials.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Equals(object)
A handle specifically for materials.
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
~MaterialHandle()
A handle specifically for materials.
Declaration
protected ~MaterialHandle()
GetHashCode()
A handle specifically for materials.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |