本文整理汇总了C++中PoolVector类的典型用法代码示例。如果您正苦于以下问题:C++ PoolVector类的具体用法?C++ PoolVector怎么用?C++ PoolVector使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了PoolVector类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: godot_pool_real_array_insert
godot_error GDAPI godot_pool_real_array_insert(godot_pool_real_array *p_self, const godot_int p_idx, const godot_real p_data) {
PoolVector<godot_real> *self = (PoolVector<godot_real> *)p_self;
return (godot_error)self->insert(p_idx, p_data);
}
示例2: godot_pool_real_array_invert
void GDAPI godot_pool_real_array_invert(godot_pool_real_array *p_self) {
PoolVector<godot_real> *self = (PoolVector<godot_real> *)p_self;
self->invert();
}
示例3: godot_pool_real_array_append_array
void GDAPI godot_pool_real_array_append_array(godot_pool_real_array *p_self, const godot_pool_real_array *p_array) {
PoolVector<godot_real> *self = (PoolVector<godot_real> *)p_self;
PoolVector<godot_real> *array = (PoolVector<godot_real> *)p_array;
self->append_array(*array);
}
示例4: godot_pool_real_array_append
void GDAPI godot_pool_real_array_append(godot_pool_real_array *p_self, const godot_real p_data) {
PoolVector<godot_real> *self = (PoolVector<godot_real> *)p_self;
self->append(p_data);
}
示例5: godot_pool_int_array_set
void GDAPI godot_pool_int_array_set(godot_pool_int_array *p_self, const godot_int p_idx, const godot_int p_data) {
PoolVector<godot_int> *self = (PoolVector<godot_int> *)p_self;
self->set(p_idx, p_data);
}
示例6: godot_pool_int_array_resize
void GDAPI godot_pool_int_array_resize(godot_pool_int_array *p_self, const godot_int p_size) {
PoolVector<godot_int> *self = (PoolVector<godot_int> *)p_self;
self->resize(p_size);
}
示例7: godot_pool_int_array_push_back
void GDAPI godot_pool_int_array_push_back(godot_pool_int_array *p_self, const godot_int p_data) {
PoolVector<godot_int> *self = (PoolVector<godot_int> *)p_self;
self->push_back(p_data);
}