summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/idl/viewport.idl
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/idl/viewport.idl')
-rw-r--r--o3d/plugin/idl/viewport.idl15
1 files changed, 8 insertions, 7 deletions
diff --git a/o3d/plugin/idl/viewport.idl b/o3d/plugin/idl/viewport.idl
index e9564a2..0e12f94 100644
--- a/o3d/plugin/idl/viewport.idl
+++ b/o3d/plugin/idl/viewport.idl
@@ -47,23 +47,24 @@ namespace o3d {
: RenderNode {
%[
The position and size to set the viewport in
- [left, top, width, height] format. The default values
- are (0.0, 0.0, 1.0, 1.0). In other words, the full area.
+ [left, top, width, height] format.
Note: These values must describe a rectangle that is 100% inside the client
- area. In other words, (0.5, 0.0, 1.0, 1.0) would describe an area that is
+ area. In other words, [0.5, 0.0, 1.0, 1.0] would describe an area that is
1/2 off right side of the screen. That is an invalid value and will be
- clipped to (0.5, 0.0, 0.5, 1.0).
+ clipped to [0.5, 0.0, 0.5, 1.0].
- \sa Viewport
+ Default = [0.0, 0.0, 1.0, 1.0]. In other words, the full area.
+
+ \sa o3d.Viewport
%]
[getter, setter] Float4 viewport;
%[
The min Z and max Z depth range in [min Z, max Z] format.
- The default values are [0.0, 1.0].
+ Default = [0.0, 1.0].
- \sa Viewport
+ \sa o3d.Viewport
%]
[getter, setter] Float2 depth_range;
}; // Viewport