Skip to content

Commit

Permalink
Sets default clipping mode for cameras to None
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyguo11 committed Dec 17, 2024
1 parent 874b7b6 commit 84ff28a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class OffsetCfg:
asset is already present in the scene.
"""

depth_clipping_behavior: Literal["max", "zero", "none"] = "zero"
"""Clipping behavior for the camera for values exceed the maximum value. Defaults to "zero".
depth_clipping_behavior: Literal["max", "zero", "none"] = "none"
"""Clipping behavior for the camera for values exceed the maximum value. Defaults to "none".
- ``"max"``: Values are clipped to the maximum value.
- ``"zero"``: Values are clipped to zero.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class OffsetCfg:
data_types: list[str] = ["distance_to_image_plane"]
"""List of sensor names/types to enable for the camera. Defaults to ["distance_to_image_plane"]."""

depth_clipping_behavior: Literal["max", "zero", "none"] = "zero"
"""Clipping behavior for the camera for values exceed the maximum value. Defaults to "zero".
depth_clipping_behavior: Literal["max", "zero", "none"] = "none"
"""Clipping behavior for the camera for values exceed the maximum value. Defaults to "none".
- ``"max"``: Values are clipped to the maximum value.
- ``"zero"``: Values are clipped to zero.
Expand Down

0 comments on commit 84ff28a

Please sign in to comment.