:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the ClippedCamera.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_ClippedCamera: ClippedCamera ============= **Inherits:** :ref:`Camera` **<** :ref:`Spatial` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +----------------------------------------------------+--------------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`clip_to_areas` | false | +----------------------------------------------------+--------------------------------------------------------------------+-------+ | :ref:`bool` | :ref:`clip_to_bodies` | true | +----------------------------------------------------+--------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`collision_mask` | 1 | +----------------------------------------------------+--------------------------------------------------------------------+-------+ | :ref:`float` | :ref:`margin` | 0.0 | +----------------------------------------------------+--------------------------------------------------------------------+-------+ | :ref:`ProcessMode` | :ref:`process_mode` | 0 | +----------------------------------------------------+--------------------------------------------------------------------+-------+ Methods ------- +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_exception` **(** :ref:`Object` node **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_exception_rid` **(** :ref:`RID` rid **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_exceptions` **(** **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_clip_offset` **(** **)** const | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_collision_mask_bit` **(** :ref:`int` bit **)** const | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_exception` **(** :ref:`Object` node **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_exception_rid` **(** :ref:`RID` rid **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_collision_mask_bit` **(** :ref:`int` bit, :ref:`bool` value **)** | +---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+ Enumerations ------------ .. _enum_ClippedCamera_ProcessMode: .. _class_ClippedCamera_constant_CLIP_PROCESS_PHYSICS: .. _class_ClippedCamera_constant_CLIP_PROCESS_IDLE: enum **ProcessMode**: - **CLIP_PROCESS_PHYSICS** = **0** - **CLIP_PROCESS_IDLE** = **1** Property Descriptions --------------------- .. _class_ClippedCamera_property_clip_to_areas: - :ref:`bool` **clip_to_areas** +-----------+----------------------------+ | *Default* | false | +-----------+----------------------------+ | *Setter* | set_clip_to_areas(value) | +-----------+----------------------------+ | *Getter* | is_clip_to_areas_enabled() | +-----------+----------------------------+ .. _class_ClippedCamera_property_clip_to_bodies: - :ref:`bool` **clip_to_bodies** +-----------+-----------------------------+ | *Default* | true | +-----------+-----------------------------+ | *Setter* | set_clip_to_bodies(value) | +-----------+-----------------------------+ | *Getter* | is_clip_to_bodies_enabled() | +-----------+-----------------------------+ .. _class_ClippedCamera_property_collision_mask: - :ref:`int` **collision_mask** +-----------+---------------------------+ | *Default* | 1 | +-----------+---------------------------+ | *Setter* | set_collision_mask(value) | +-----------+---------------------------+ | *Getter* | get_collision_mask() | +-----------+---------------------------+ .. _class_ClippedCamera_property_margin: - :ref:`float` **margin** +-----------+-------------------+ | *Default* | 0.0 | +-----------+-------------------+ | *Setter* | set_margin(value) | +-----------+-------------------+ | *Getter* | get_margin() | +-----------+-------------------+ .. _class_ClippedCamera_property_process_mode: - :ref:`ProcessMode` **process_mode** +-----------+-------------------------+ | *Default* | 0 | +-----------+-------------------------+ | *Setter* | set_process_mode(value) | +-----------+-------------------------+ | *Getter* | get_process_mode() | +-----------+-------------------------+ Method Descriptions ------------------- .. _class_ClippedCamera_method_add_exception: - void **add_exception** **(** :ref:`Object` node **)** .. _class_ClippedCamera_method_add_exception_rid: - void **add_exception_rid** **(** :ref:`RID` rid **)** .. _class_ClippedCamera_method_clear_exceptions: - void **clear_exceptions** **(** **)** .. _class_ClippedCamera_method_get_clip_offset: - :ref:`float` **get_clip_offset** **(** **)** const .. _class_ClippedCamera_method_get_collision_mask_bit: - :ref:`bool` **get_collision_mask_bit** **(** :ref:`int` bit **)** const .. _class_ClippedCamera_method_remove_exception: - void **remove_exception** **(** :ref:`Object` node **)** .. _class_ClippedCamera_method_remove_exception_rid: - void **remove_exception_rid** **(** :ref:`RID` rid **)** .. _class_ClippedCamera_method_set_collision_mask_bit: - void **set_collision_mask_bit** **(** :ref:`int` bit, :ref:`bool` value **)**