<MemberView> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » MemberView

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32ClearResets the <MemberView> object to its constructor defaults.
<Uint8ArrayView>GetViewReturns a <Uint8ArrayView> of the underlying object's data. For example: if the underlying object is a <Float32ArrayNode>, this is a uint8-view of the <float32> data.
int32MemcmpInternal use only.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Int32Array>ArraySubscriptsReturns a pointer to an <Int32Array> containing the array subscript values. For the <Int32ArrayNode: int my_int[2][3][4] this function returns an <Int32Array> containing the values 2, 3, 4.
<MemberTraits>MemberTraitsReturns a pointer to this object's <MemberTraits> data member.
int32ArrayCountGets or sets the <MemberView> array count.
int32ColsGets or sets the cols parameter. This represents the number of columns in a matrix or vector. A vector must have a single column and a matrix may have 2, 3, or 4 columns.
int32CopyMemoryGets or sets the CopyMemory flag. When true, calls to SetParams on <DataCapture> objects will cause the memory from compatible objects to be copied.
int32GlTypeCodeGets or sets the OpenGL® type code. This refers to values from GLEXT.H such as #define GL_FLOAT16_NV 0x8FF8. This can be used to map <VariableNode> and <DataCapture> objects onto OpenGL® types.
int32RowsGets or sets the rows parameter. This represents the number of rows in a matrix or vector. Vectors and matrices may have 2, 3, or 4 rows.
int32ScalarCountReturns the number of scalar elements in the queried object. For example: a vec4 has four scalars. An array of 2 vec3 objects has six scalars. An array of 2 <Float32Matrix> objects has 32 scalars.
int32SizeOfDataSets or gets an <int32> that returns the size in bytes of the underlying data. For an <Int32Node>, this function returns 4. For an <Int32ArrayNode with 4 values, this function returns 16.
int32SizeOfElementReturns the size in bytes of the underlying data. For an <Int32Node>, this function returns 4. For an <Int32ArrayNode with 4 values, this function still returns 4.