SoMaterialElementGetTransparency Method (SoState, SoMaterialElementFaces, Int32) |
get() methods get value from Inventor state.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.1.0.0 (10.17.0.0)
Syntaxpublic static float GetTransparency(
SoState state,
SoMaterialElementFaces face,
int index
)
Public Shared Function GetTransparency (
state As SoState,
face As SoMaterialElementFaces,
index As Integer
) As Single
public:
static float GetTransparency(
SoState^ state,
SoMaterialElementFaces face,
int index
)
static member GetTransparency :
state : SoState *
face : SoMaterialElementFaces *
index : int -> float32
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- face
- Type: OIV.Inventor.ElementsSoMaterialElementFaces
- index
- Type: SystemInt32
Return Value
Type:
Single
RemarksThe public methods are static, they get an instance of the element.
See Also