SoUpdateAreaElement Class |
Stores the rectangular area within the current viewport region that needs to be updated when rendering.
Namespace: OIV.Inventor.Elements
The SoUpdateAreaElement type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Get | Returns current update area from the state. | |
GetClassStackIndex | Obsolete. Returns the stack id for this element. | |
GetDefaultOrigin | Returns the default update area origin. | |
GetDefaultSize | Returns the default update area size. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Pop | Pops element. | |
Push | Overrides OIV.Inventor.Elements.SoUpdateAreaElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack. | |
Set | Sets the current update area in the state. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This element stores the rectangular area within the current viewport region that needs to be updated when rendering. It can be used for partial rendering updates when applications know that only a portion of the objects need to be rerendered. Cameras can use the info in this element to set up a view volume against which culling can be performed.
This element also sets the GL scissor box to limit drawing.
The update area is specified in normalized viewport coordinates, where (0,0) is the lower left corner of the viewport and (1,1) is the upper right corner. The area is given as an origin and a size.