GenericVec2ArrayValue (object)¶
The GenericVec2ArrayValue is a typed implementation of the GenericArrayValue using a Vec2 array element.
Methods¶
GenericVec2ArrayValue ( in GenericVec2ArrayValue other ) | |
GenericVec2ArrayValue ( in Vec2Array value ) | |
GenericVec2ArrayValue () | |
GenericVec2ArrayValue | clone ? () |
Boolean | equals ? ( in Ref<GenericValue> other ) |
Vec2 | get ? ( in Index index ) |
Vec2Array | get ? () |
Type | getValueType ? () |
UInt32 | hash_ ? () |
Boolean | isArray ? () |
push ! ( in Vec2 value ) | |
resize ! ( in Size newSize ) | |
set ! ( in Index index, in Vec2 value ) | |
setCopy ! ( in Vec2Array value ) | |
setShared ! ( in Vec2Array value ) | |
Size | size ? () |
Methods in detail¶
GenericVec2ArrayValue ( in GenericVec2ArrayValue other )
copy constructor
GenericVec2ArrayValue ( in Vec2Array value )
value constructor
default constructor
GenericVec2ArrayValue GenericVec2ArrayValue.clone? ()
clone method
Boolean GenericVec2ArrayValue.equals? ( in Ref<GenericValue> other )
return true if this value array matches another one
Vec2 GenericVec2ArrayValue.get? ( in Index index )
returns an element the contained value array by index
Vec2Array GenericVec2ArrayValue.get? ()
returns the contained value array
Type GenericVec2ArrayValue.getValueType? ()
returns the name of the value type
UInt32 GenericVec2ArrayValue.hash_? ()
returns a hash value for this
Boolean GenericVec2ArrayValue.isArray? ()
returns true if this value contains an array
GenericVec2ArrayValue.push! ( in Vec2 value )
pushed an element to the contained value array
GenericVec2ArrayValue.resize! ( in Size newSize )
resizes the contained value array
GenericVec2ArrayValue.set! ( in Index index, in Vec2 value )
sets an element the contained value array by index
GenericVec2ArrayValue.setCopy! ( in Vec2Array value )
sets the contained value array (copying its contents)
GenericVec2ArrayValue.setShared! ( in Vec2Array value )
sets the contained value array (sharing the reference)
Size GenericVec2ArrayValue.size? ()
returns the size of the contained value array