DisplayManagerJ3dMaterial_Struct Struct¶
NXOpen.DisplayManager.J3dMaterial is an alias for NXOpen.DisplayManagerJ3dMaterial_Struct
-
class
NXOpen.
DisplayManagerJ3dMaterial_Struct
¶ Bases:
object
3d interface material definition
Fields¶
Field | Description |
---|---|
Color | object color |
HighlightColor | object highlight color |
Roughness | surface roughness parameter |
SpecularFactor | specular reflection coeficient |
DiffuseFactor | diffuse reflection coeficient |
AmbientFactor | ambient light coeficient |
Transparency |
Color¶
-
DisplayManagerJ3dMaterial_Struct.
Color
¶ object color
-------------------------------------
Getter Method Signature
Color()
Returns: Return type: NXOpen.DisplayManagerJ3dColor_Struct
-------------------------------------
Setter Method
Signature
Color(value)
Parameters: value ( NXOpen.DisplayManagerJ3dColor_Struct
) –
HighlightColor¶
-
DisplayManagerJ3dMaterial_Struct.
HighlightColor
¶ object highlight color
-------------------------------------
Getter Method Signature
HighlightColor()
Returns: Return type: NXOpen.DisplayManagerJ3dColor_Struct
-------------------------------------
Setter Method
Signature
HighlightColor(value)
Parameters: value ( NXOpen.DisplayManagerJ3dColor_Struct
) –
Roughness¶
-
DisplayManagerJ3dMaterial_Struct.
Roughness
¶ surface roughness parameter
-------------------------------------
Getter Method Signature
Roughness()
Returns: Return type: float -------------------------------------
Setter Method
Signature
Roughness(value)
Parameters: value (float) –
SpecularFactor¶
-
DisplayManagerJ3dMaterial_Struct.
SpecularFactor
¶ specular reflection coeficient
-------------------------------------
Getter Method Signature
SpecularFactor()
Returns: Return type: float -------------------------------------
Setter Method
Signature
SpecularFactor(value)
Parameters: value (float) –
DiffuseFactor¶
-
DisplayManagerJ3dMaterial_Struct.
DiffuseFactor
¶ diffuse reflection coeficient
-------------------------------------
Getter Method Signature
DiffuseFactor()
Returns: Return type: float -------------------------------------
Setter Method
Signature
DiffuseFactor(value)
Parameters: value (float) –
AmbientFactor¶
-
DisplayManagerJ3dMaterial_Struct.
AmbientFactor
¶ ambient light coeficient
-------------------------------------
Getter Method Signature
AmbientFactor()
Returns: Return type: float -------------------------------------
Setter Method
Signature
AmbientFactor(value)
Parameters: value (float) –
Transparency¶
-
DisplayManagerJ3dMaterial_Struct.
Transparency
¶ 0 is opaque, 1.0 is totally transparent
-------------------------------------
Getter Method Signature
Transparency()
Returns: Return type: float -------------------------------------
Setter Method
Signature
Transparency(value)
Parameters: value (float) –