Click or drag to resize
SoUpdateAreaElement Class

Stores the rectangular area within the current viewport region that needs to be updated when rendering.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
public class SoUpdateAreaElement : SoElement

The SoUpdateAreaElement type exposes the following members.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns current update area from the state.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetDefaultOrigin

Returns the default update area origin.

Public methodStatic memberGetDefaultSize

Returns the default update area size.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Overrides OIV.Inventor.Elements.SoUpdateAreaElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack.

(Overrides SoElementPush(SoState).)
Public methodStatic memberSet

Sets the current update area in the state.

Public methodToString
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.

See Also