diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-05 04:15:12 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-05 04:15:12 +0000 |
commit | 96ba3f3624defbbb523023d3e731d56793083927 (patch) | |
tree | 7ec64d17aaa699c22d2fc76d9801b435f6a2baf7 /o3d/plugin/idl/viewport.idl | |
parent | cf066e493d140b20125adf2335f8b891d7e4b536 (diff) | |
download | chromium_src-96ba3f3624defbbb523023d3e731d56793083927.zip chromium_src-96ba3f3624defbbb523023d3e731d56793083927.tar.gz chromium_src-96ba3f3624defbbb523023d3e731d56793083927.tar.bz2 |
Added default values to property documentation.
Fixed a few more docs issues.
Review URL: http://codereview.chromium.org/159894
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22463 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/idl/viewport.idl')
-rw-r--r-- | o3d/plugin/idl/viewport.idl | 15 |
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 |