This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
gvr_rectf
#include <gvr_types.h>
A floating point 2D rect.
Summary
Used for field of view, and also for ranges in texture space. When used for a field of view, all angles are in positive degrees from the optical axis.
Public attributes
bottom
float gvr_rectf::bottom
left
float gvr_rectf::left
right
float gvr_rectf::right
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003e\u003ccode\u003egvr_rectf\u003c/code\u003e is a structure that defines a 2D rectangle using floating-point values for its boundaries.\u003c/p\u003e\n"],["\u003cp\u003eThis structure is utilized to represent fields of view and texture space ranges within the system.\u003c/p\u003e\n"],["\u003cp\u003eWhen representing a field of view, \u003ccode\u003egvr_rectf\u003c/code\u003e uses positive degree angles measured from the optical axis.\u003c/p\u003e\n"],["\u003cp\u003eThe rectangle's boundaries are defined by its \u003ccode\u003ebottom\u003c/code\u003e, \u003ccode\u003eleft\u003c/code\u003e, \u003ccode\u003eright\u003c/code\u003e, and \u003ccode\u003etop\u003c/code\u003e attributes, all of which are float values.\u003c/p\u003e\n"]]],["The `gvr_rectf` structure, defined in `gvr_types.h`, represents a 2D rectangle using floating-point values. It is used for specifying field of view and texture space ranges, where angles are positive degrees from the optical axis. The structure has four public attributes: `bottom`, `left`, `right`, and `top`, each a `float` that defines the respective edge of the rectangle. These attributes are accessible directly for defining the rectangular region.\n"],null,["# gvr_rectf Struct Reference\n\ngvr_rectf\n=========\n\n`#include \u003cgvr_types.h\u003e`\n\nA floating point 2D rect.\n\nSummary\n-------\n\nUsed for field of view, and also for ranges in texture space. When used for a field of view, all angles are in positive degrees from the optical axis.\n\n| ### Public attributes ||\n|----------------------------------------------------------------|---------|\n| [bottom](#structgvr__rectf_1ab181d11c010055b54733a736b7532b0e) | `float` |\n| [left](#structgvr__rectf_1a9e75d96b8bffea79ba44dd15c06dbfe7) | `float` |\n| [right](#structgvr__rectf_1af541f15a29d686bb37d8f4fbd18cecdc) | `float` |\n| [top](#structgvr__rectf_1a25a52cd5b89b92c37bfa8aa49d12cfca) | `float` |\n\nPublic attributes\n-----------------\n\n### bottom\n\n```scdoc\nfloat gvr_rectf::bottom\n``` \n\n### left\n\n```scdoc\nfloat gvr_rectf::left\n``` \n\n### right\n\n```scdoc\nfloat gvr_rectf::right\n``` \n\n### top\n\n```scdoc\nfloat gvr_rectf::top\n```"]]