Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
Graphic3d_MaterialAspect_2
Class Graphic3d_MaterialAspect_2
Hierarchy
Graphic3d_MaterialAspect
Graphic3d_MaterialAspect_2
Index
Constructors
constructor
Methods
Alpha
Ambient
Color
BSDF
Color
Diffuse
Color
Dump
Json
Emissive
Color
Increase
Shine
Is
Different
Is
Equal
Material
Name_
2
Material
Type_
2
Material
Type_
3
Name
PBRMaterial
Reflection
Mode
Refraction
Index
Requested
Name
Reset
Set
Alpha
Set
Ambient
Color
SetBSDF
Set
Color
Set
Diffuse
Color
Set
Emissive
Color
Set
Material
Name
Set
Material
Type
SetPBRMaterial
Set
Reflection
Mode
Off
Set
Refraction
Index
Set
Shininess
Set
Specular
Color
Set
Transparency
Shininess
Specular
Color
String
Name
Transparency
delete
Material
From
Name_
1
Material
From
Name_
2
Material
Name_
1
Material
Type_
1
Number
Of
Materials
Constructors
constructor
new
Graphic3d_
Material
Aspect_
2
(
theName
:
Graphic3d_NameOfMaterial
)
:
Graphic3d_MaterialAspect_2
Parameters
theName:
Graphic3d_NameOfMaterial
Returns
Graphic3d_MaterialAspect_2
Methods
Alpha
Alpha
(
)
:
number
Returns
number
Ambient
Color
Ambient
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
BSDF
BSDF
(
)
:
Graphic3d_BSDF
Returns
Graphic3d_BSDF
Color
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
Diffuse
Color
Diffuse
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Emissive
Color
Emissive
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
Increase
Shine
Increase
Shine
(
theDelta
:
number
)
:
void
Parameters
theDelta:
number
Returns
void
Is
Different
Is
Different
(
theOther
:
Graphic3d_MaterialAspect
)
:
boolean
Parameters
theOther:
Graphic3d_MaterialAspect
Returns
boolean
Is
Equal
Is
Equal
(
theOther
:
Graphic3d_MaterialAspect
)
:
boolean
Parameters
theOther:
Graphic3d_MaterialAspect
Returns
boolean
Material
Name_
2
Material
Name_
2
(
)
:
string
Returns
string
Material
Type_
2
Material
Type_
2
(
)
:
Graphic3d_TypeOfMaterial
Returns
Graphic3d_TypeOfMaterial
Material
Type_
3
Material
Type_
3
(
theType
:
Graphic3d_TypeOfMaterial
)
:
boolean
Parameters
theType:
Graphic3d_TypeOfMaterial
Returns
boolean
Name
Name
(
)
:
Graphic3d_NameOfMaterial
Returns
Graphic3d_NameOfMaterial
PBRMaterial
PBRMaterial
(
)
:
Graphic3d_PBRMaterial
Returns
Graphic3d_PBRMaterial
Reflection
Mode
Reflection
Mode
(
theType
:
Graphic3d_TypeOfReflection
)
:
boolean
Parameters
theType:
Graphic3d_TypeOfReflection
Returns
boolean
Refraction
Index
Refraction
Index
(
)
:
number
Returns
number
Requested
Name
Requested
Name
(
)
:
Graphic3d_NameOfMaterial
Returns
Graphic3d_NameOfMaterial
Reset
Reset
(
)
:
void
Returns
void
Set
Alpha
Set
Alpha
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Ambient
Color
Set
Ambient
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
SetBSDF
SetBSDF
(
theBSDF
:
Graphic3d_BSDF
)
:
void
Parameters
theBSDF:
Graphic3d_BSDF
Returns
void
Set
Color
Set
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Diffuse
Color
Set
Diffuse
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Emissive
Color
Set
Emissive
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Material
Name
Set
Material
Name
(
theName
:
XCAFDoc_PartId
)
:
void
Parameters
theName:
XCAFDoc_PartId
Returns
void
Set
Material
Type
Set
Material
Type
(
theType
:
Graphic3d_TypeOfMaterial
)
:
void
Parameters
theType:
Graphic3d_TypeOfMaterial
Returns
void
SetPBRMaterial
SetPBRMaterial
(
thePBRMaterial
:
Graphic3d_PBRMaterial
)
:
void
Parameters
thePBRMaterial:
Graphic3d_PBRMaterial
Returns
void
Set
Reflection
Mode
Off
Set
Reflection
Mode
Off
(
theType
:
Graphic3d_TypeOfReflection
)
:
void
Parameters
theType:
Graphic3d_TypeOfReflection
Returns
void
Set
Refraction
Index
Set
Refraction
Index
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Shininess
Set
Shininess
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Specular
Color
Set
Specular
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Transparency
Set
Transparency
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Shininess
Shininess
(
)
:
number
Returns
number
Specular
Color
Specular
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
String
Name
String
Name
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Transparency
Transparency
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Static
Material
From
Name_
1
Material
From
Name_
1
(
theName
:
string
, theMat
:
Graphic3d_NameOfMaterial
)
:
boolean
Parameters
theName:
string
theMat:
Graphic3d_NameOfMaterial
Returns
boolean
Static
Material
From
Name_
2
Material
From
Name_
2
(
theName
:
string
)
:
Graphic3d_NameOfMaterial
Parameters
theName:
string
Returns
Graphic3d_NameOfMaterial
Static
Material
Name_
1
Material
Name_
1
(
theRank
:
Graphic3d_ZLayerId
)
:
string
Parameters
theRank:
Graphic3d_ZLayerId
Returns
string
Static
Material
Type_
1
Material
Type_
1
(
theRank
:
Graphic3d_ZLayerId
)
:
Graphic3d_TypeOfMaterial
Parameters
theRank:
Graphic3d_ZLayerId
Returns
Graphic3d_TypeOfMaterial
Static
Number
Of
Materials
Number
Of
Materials
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Exports
Graphic3d_
Material
Aspect_
2
constructor
Alpha
Ambient
Color
BSDF
Color
Diffuse
Color
Dump
Json
Emissive
Color
Increase
Shine
Is
Different
Is
Equal
Material
Name_
2
Material
Type_
2
Material
Type_
3
Name
PBRMaterial
Reflection
Mode
Refraction
Index
Requested
Name
Reset
Set
Alpha
Set
Ambient
Color
SetBSDF
Set
Color
Set
Diffuse
Color
Set
Emissive
Color
Set
Material
Name
Set
Material
Type
SetPBRMaterial
Set
Reflection
Mode
Off
Set
Refraction
Index
Set
Shininess
Set
Specular
Color
Set
Transparency
Shininess
Specular
Color
String
Name
Transparency
delete
Material
From
Name_
1
Material
From
Name_
2
Material
Name_
1
Material
Type_
1
Number
Of
Materials
Generated using
TypeDoc