Method SetMaterialApperanceInfo
SetMaterialApperanceInfo(DocumentId, bool, bool, bool, bool)
Sets the material apperance information.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 16, 0, 0)]
void SetMaterialApperanceInfo(DocumentId inDocumentId, bool inReceiveShadows, bool inCastShadows, bool inFresnelReflection, bool inTransparentReflection)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| bool | inReceiveShadows | Tells wether the material receive shadows. |
| bool | inCastShadows | Tells wether the material cast shadows. |
| bool | inFresnelReflection | Tells wether the material has a frenesl reflection. |
| bool | inTransparentReflection | Tells wether the material has transparent reflection. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.16.