Skip to content

Commit

Permalink
wip: update documentation on camera
Browse files Browse the repository at this point in the history
  • Loading branch information
hanson-hschang committed Sep 18, 2024
1 parent cc158bb commit e6afde9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/bsr/_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,18 @@ def get_file_path(
) -> str:
"""
Get the file path for rendering.
Parameters
----------
frame : int, optional
The frame number. Default is None.
number_of_digits : int, optional
The number of digits for the frame number. Default is 4.
Returns
-------
str
The file path for rendering.
"""
# check if the render file path is set
assert (
Expand Down Expand Up @@ -282,6 +294,11 @@ def render(
) -> None:
"""
Render the scene.
Parameters
----------
frames : int, list, tuple or np.array, optional
The frames to render. Default is None.
"""
frame_manager = FrameManager()

Expand Down

0 comments on commit e6afde9

Please sign in to comment.