panda3d.direct.DCArrayParameter

class DCArrayParameter

Bases: DCParameter

This represents an array of some other kind of object, meaning this parameter type accepts an arbitrary (or possibly fixed) number of nested fields, all of which are of the same type.

Inheritance diagram

Inheritance diagram of DCArrayParameter

getArraySize() → int

Returns the fixed number of elements in this array, or -1 if the array may contain a variable number of elements.

getElementType() → DCParameter

Returns the type of the individual elements of this array.

Return type

DCParameter