SoCallbackActionGetMaterial Method (SbColor, SbColor, SbColor, SbColor, Single, Single) |
Calls GetMaterial(ambient, diffuse, specular, emission, shininess, transparency, System.Int32(0)).
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax public void GetMaterial(
out SbColor ambient,
out SbColor diffuse,
out SbColor specular,
out SbColor emission,
out float shininess,
out float transparency
)
Public Sub GetMaterial (
<OutAttribute> ByRef ambient As SbColor,
<OutAttribute> ByRef diffuse As SbColor,
<OutAttribute> ByRef specular As SbColor,
<OutAttribute> ByRef emission As SbColor,
<OutAttribute> ByRef shininess As Single,
<OutAttribute> ByRef transparency As Single
)
public:
void GetMaterial(
[OutAttribute] SbColor% ambient,
[OutAttribute] SbColor% diffuse,
[OutAttribute] SbColor% specular,
[OutAttribute] SbColor% emission,
[OutAttribute] float% shininess,
[OutAttribute] float% transparency
)
member GetMaterial :
ambient : SbColor byref *
diffuse : SbColor byref *
specular : SbColor byref *
emission : SbColor byref *
shininess : float32 byref *
transparency : float32 byref -> unit
Parameters
- ambient
- Type: OIV.InventorSbColor
- diffuse
- Type: OIV.InventorSbColor
- specular
- Type: OIV.InventorSbColor
- emission
- Type: OIV.InventorSbColor
- shininess
- Type: SystemSingle
- transparency
- Type: SystemSingle
Remarks See Also