Class Graphic3d_MaterialAspect
Methods
DumpJson
- DumpJson(theOStream: Standard_OStream, theDepth: Graphic3d_ZLayerId): void
Parameters
theOStream: Standard_OStream
theDepth: Graphic3d_ZLayerId
Returns void
IncreaseShine
- IncreaseShine(theDelta: number): void
IsDifferent
Parameters
Returns boolean
IsEqual
Parameters
Returns boolean
MaterialType_3
Parameters
Returns boolean
ReflectionMode
Parameters
Returns boolean
RefractionIndex
- RefractionIndex(): number
SetAlpha
- SetAlpha(theValue: number): void
SetMaterialName
- SetMaterialName(theName: XCAFDoc_PartId): void
SetRefractionIndex
- SetRefractionIndex(theValue: number): void
SetShininess
- SetShininess(theValue: number): void
SetTransparency
- SetTransparency(theValue: number): void
StringName
- StringName(): XCAFDoc_PartId
Static MaterialFromName_1
Parameters
Returns boolean
Static MaterialFromName_2
Static MaterialName_1
- MaterialName_1(theRank: Graphic3d_ZLayerId): string
Parameters
theRank: Graphic3d_ZLayerId
Returns string
Static MaterialType_1
Parameters
theRank: Graphic3d_ZLayerId
Static NumberOfMaterials
- NumberOfMaterials(): Graphic3d_ZLayerId
Returns Graphic3d_ZLayerId