setNodeVisibilityFlags(node,
visible,
visibleInAlpha,
primaryVisibility,
visibleInReflections,
visibleInRefractions,
castShadows,
receiveShadows,
doubleSided,
visibleForPhotons,
castShadowOnShadowMaterial,
useOverrideMaterial,
overrideMaterial)
|
|
Sets the visibility flags and the override material for a given node
and its children.
- Parameters:
node (NodePtr) - The root node.
visible (bool) - Visibility: On/Off.
visibleInAlpha (bool) - Visibility in alpha: On/Off.
primaryVisibility (bool) - Primary visibility: On/Off.
visibleInReflections (bool) - Visibility in reflections: On/Off.
visibleInRefractions (bool) - Visibility in refractions: On/Off.
castShadows (bool) - Cast shadows: On/Off.
receiveShadows (bool) - Receive shadows: On/Off.
doubleSided (bool) - Double sided: On/Off.
visibleForPhotons (bool) - Visible for Photons: On/Off.
castShadowOnShadowMaterial (bool) - If off, the objects don't cast shadows from the Ibl onto the
shadow material: On/Off.
useOverrideMaterial (bool) - If off, the objects don't use the override material: On/Off.
overrideMaterial (string) - the name of the override material, defaults to none: string.
|