# MaterialRaytraceMirror(bpy_struct)

base class — `bpy_struct`

class `bpy.types.``MaterialRaytraceMirror`(bpy_struct)

  Raytraced reflection settings for a Material data-block

  `depth`

    Maximum allowed number of light inter-reflections

    Type: | int in [0, 32767], default 0

  `distance`

    Maximum distance of reflected rays (reflections further than this range fade to sky color or material color)

    Type: | float in [0, 10000], default 0.0

  `fade_to`

    The color that rays with no intersection within the Max Distance take (material color can be best for indoor scenes, sky color for outdoor)

    Type: | enum in [‘FADE_TO_SKY’, ‘FADE_TO_MATERIAL’], default ‘FADE_TO_SKY’

  `fresnel`

    Power of Fresnel for mirror reflection

    Type: | float in [0, 5], default 0.0

  `fresnel_factor`

    Blending factor for Fresnel

    Type: | float in [0, 5], default 0.0

  `gloss_anisotropic`

    The shape of the reflection, from 0.0 (circular) to 1.0 (fully stretched along the tangent

    Type: | float in [0, 1], default 0.0

  `gloss_factor`

    The shininess of the reflection (values < 1.0 give diffuse, blurry reflections)

    Type: | float in [0, 1], default 0.0

  `gloss_samples`

    Number of cone samples averaged for blurry reflections

    Type: | int in [0, 1024], default 0

  `gloss_threshold`

    Threshold for adaptive sampling (if a sample contributes less than this amount [as a percentage], sampling is stopped)

    Type: | float in [0, 1], default 0.0

  `reflect_factor`

    Amount of mirror reflection for raytrace

    Type: | float in [0, 1], default 0.0

  `use`

    Enable raytraced reflections

    Type: | boolean, default False

Inherited Properties

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`Material.raytrace_mirror` |