RFDocument.GetMaterialInfo



Your Ad Here

Description

Retrieves properties of the specified material.

Syntax

Function RFDocument.GetMaterialInfo(materialIndex As Long, pName As String, pAmbient As RFColor, pDiffuse As RFColor, pSpecular As RFColor, pShiness As Single, pAlpha As Single) As RFErrorCode

The GetMaterialInfo syntax has these parts:

Part Description
materialIndex [INLong Required. Index of the material.
pName [OUTString Required. Name of the material.
pAmbient [OUTRFColor Required. Ambient color of the material.
pDiffuse [OUTRFColor Required. Diffuse color of the material.
pSpecular [OUTRFColor Required. Specular color of the material.
pShiness [OUTSingle Required. Shiness value of the material ranging from 0 to 100.
pAlpha [OUTSingle Required. Transparency value of the material ranging from 0 to 1.

 

Return to Rapidform Index


Your Ad Here