mani_skill.utils.structs.render_camera#
Classes#
Wrapper around sapien.render.RenderCameraComponent |
Module Contents#
- class mani_skill.utils.structs.render_camera.RenderCamera[source]#
Wrapper around sapien.render.RenderCameraComponent
- classmethod create(render_cameras, scene, mount=None)[source]#
- Parameters:
render_cameras (list[sapien.render.RenderCameraComponent])
scene (Any)
mount (Optional[Union[mani_skill.utils.structs.actor.Actor, mani_skill.utils.structs.link.Link]])
- get_picture(names)[source]#
- Parameters:
names (Union[str, list[str]])
- Return type:
list[torch.Tensor]
- set_perspective_parameters(near, far, fx, fy, cx, cy, skew)[source]#
- Parameters:
near (float)
far (float)
fx (float)
fy (float)
cx (float)
cy (float)
skew (float)
- Return type:
None
- set_property(name, value)[source]#
change properties of the camera. This is not well documented at the moment and is a heavily overloaded function.
At the moment you can do this:
set_property(“toneMapper”, value) where value is 0 (gamma), 1 (sRGB), 2 (filmic) change the color management used. Default is 0 (gamma)
set_property(“exposure”, value) where value is the exposure. Default is 1.0
- Parameters:
name (str)
value (Any)
- Return type:
None
- _cached_local_pose: mani_skill.utils.structs.pose.Pose = None[source]#
- property global_pose: mani_skill.utils.structs.pose.Pose[source]#
- Return type: