#include "whiteout_m3.h"
#include <cstring>
#include <new>
#include <span>
#include <string>
#include <vector>
#include <whiteout/vector_types.h>
#include <whiteout/models/m3/types.h>
#include <whiteout/models/m3/structures/anim.h>
#include <whiteout/models/m3/structures/base.h>
#include <whiteout/models/m3/structures/effect.h>
#include <whiteout/models/m3/structures/material.h>
#include <whiteout/models/m3/structures/mesh.h>
#include <whiteout/models/m3/structures/misc.h>
#include <whiteout/models/m3/structures/physics.h>
#include <whiteout/models/m3/structures/scene.h>
#include <whiteout/models/m3/structures.h>
#include <whiteout/models/m3/parser.h>
#include <whiteout/models/m3/writer.h>
namespace { using namespace whiteout; }
namespace {
inline whiteout_Bytes wrapBytes(std::vector<whiteout::u8>&& v) {
auto* owned = new std::vector<whiteout::u8>(std::move(v));
return { reinterpret_cast<const uint8_t*>(owned->data()), owned->size(), owned };
}
inline whiteout_Bytes emptyBytes() {
return { nullptr, 0, nullptr };
}
inline whiteout_CString wrapCString(std::string&& s) {
auto* owned = new std::string(std::move(s));
return { owned->c_str(), owned->size(), owned };
}
inline whiteout_CString emptyCString() {
return { nullptr, 0, nullptr };
}
}
extern "C" {
whiteout_M3ColorBGRA* whiteout_m3_M3ColorBGRA_new(void) {
return reinterpret_cast<whiteout_M3ColorBGRA*>(new whiteout::m3::ColorBGRA());
}
void whiteout_m3_M3ColorBGRA_delete(whiteout_M3ColorBGRA* self) {
delete reinterpret_cast<whiteout::m3::ColorBGRA*>(self);
}
uint8_t whiteout_m3_M3ColorBGRA_get_b(const whiteout_M3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::ColorBGRA*>(self)->b;
}
void whiteout_m3_M3ColorBGRA_set_b(whiteout_M3ColorBGRA* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGRA*>(self)->b = value;
}
uint8_t whiteout_m3_M3ColorBGRA_get_g(const whiteout_M3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::ColorBGRA*>(self)->g;
}
void whiteout_m3_M3ColorBGRA_set_g(whiteout_M3ColorBGRA* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGRA*>(self)->g = value;
}
uint8_t whiteout_m3_M3ColorBGRA_get_r(const whiteout_M3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::ColorBGRA*>(self)->r;
}
void whiteout_m3_M3ColorBGRA_set_r(whiteout_M3ColorBGRA* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGRA*>(self)->r = value;
}
uint8_t whiteout_m3_M3ColorBGRA_get_a(const whiteout_M3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::ColorBGRA*>(self)->a;
}
void whiteout_m3_M3ColorBGRA_set_a(whiteout_M3ColorBGRA* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGRA*>(self)->a = value;
}
}
extern "C" {
whiteout_M3ColorBGR* whiteout_m3_M3ColorBGR_new(void) {
return reinterpret_cast<whiteout_M3ColorBGR*>(new whiteout::m3::ColorBGR());
}
void whiteout_m3_M3ColorBGR_delete(whiteout_M3ColorBGR* self) {
delete reinterpret_cast<whiteout::m3::ColorBGR*>(self);
}
uint8_t whiteout_m3_M3ColorBGR_get_b(const whiteout_M3ColorBGR* self) {
return reinterpret_cast<const whiteout::m3::ColorBGR*>(self)->b;
}
void whiteout_m3_M3ColorBGR_set_b(whiteout_M3ColorBGR* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGR*>(self)->b = value;
}
uint8_t whiteout_m3_M3ColorBGR_get_g(const whiteout_M3ColorBGR* self) {
return reinterpret_cast<const whiteout::m3::ColorBGR*>(self)->g;
}
void whiteout_m3_M3ColorBGR_set_g(whiteout_M3ColorBGR* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGR*>(self)->g = value;
}
uint8_t whiteout_m3_M3ColorBGR_get_r(const whiteout_M3ColorBGR* self) {
return reinterpret_cast<const whiteout::m3::ColorBGR*>(self)->r;
}
void whiteout_m3_M3ColorBGR_set_r(whiteout_M3ColorBGR* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ColorBGR*>(self)->r = value;
}
}
extern "C" {
whiteout_M3Extent* whiteout_m3_M3Extent_new(void) {
return reinterpret_cast<whiteout_M3Extent*>(new whiteout::m3::Extent());
}
void whiteout_m3_M3Extent_delete(whiteout_M3Extent* self) {
delete reinterpret_cast<whiteout::m3::Extent*>(self);
}
whiteout_Vector3f* whiteout_m3_M3Extent_get_min(whiteout_M3Extent* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::Extent*>(self)->min);
}
void whiteout_m3_M3Extent_set_min(whiteout_M3Extent* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::Extent*>(self)->min = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3Extent_get_max(whiteout_M3Extent* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::Extent*>(self)->max);
}
void whiteout_m3_M3Extent_set_max(whiteout_M3Extent* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::Extent*>(self)->max = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
float whiteout_m3_M3Extent_get_radius(const whiteout_M3Extent* self) {
return reinterpret_cast<const whiteout::m3::Extent*>(self)->radius;
}
void whiteout_m3_M3Extent_set_radius(whiteout_M3Extent* self, float value) {
reinterpret_cast<whiteout::m3::Extent*>(self)->radius = value;
}
}
extern "C" {
whiteout_M3Event* whiteout_m3_M3Event_new(void) {
return reinterpret_cast<whiteout_M3Event*>(new whiteout::m3::Event());
}
void whiteout_m3_M3Event_delete(whiteout_M3Event* self) {
delete reinterpret_cast<whiteout::m3::Event*>(self);
}
whiteout_CString whiteout_m3_M3Event_get_name(const whiteout_M3Event* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Event*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Event_set_name(whiteout_M3Event* self, const char* value) {
reinterpret_cast<whiteout::m3::Event*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3Event_get_unknown(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->unknown;
}
void whiteout_m3_M3Event_set_unknown(whiteout_M3Event* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->unknown = value;
}
uint16_t whiteout_m3_M3Event_get_boneIndex(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->boneIndex;
}
void whiteout_m3_M3Event_set_boneIndex(whiteout_M3Event* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->boneIndex = value;
}
uint16_t whiteout_m3_M3Event_get_padding(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->padding;
}
void whiteout_m3_M3Event_set_padding(whiteout_M3Event* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->padding = value;
}
uint32_t whiteout_m3_M3Event_get_eventType(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->eventType;
}
void whiteout_m3_M3Event_set_eventType(whiteout_M3Event* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->eventType = value;
}
whiteout_CString whiteout_m3_M3Event_get_optionString(const whiteout_M3Event* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Event*>(self)->optionString);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Event_set_optionString(whiteout_M3Event* self, const char* value) {
reinterpret_cast<whiteout::m3::Event*>(self)->optionString = (value ? value : "");
}
uint32_t whiteout_m3_M3Event_get_rttChannelIndex(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->rttChannelIndex;
}
void whiteout_m3_M3Event_set_rttChannelIndex(whiteout_M3Event* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->rttChannelIndex = value;
}
uint32_t whiteout_m3_M3Event_get_extraParameter(const whiteout_M3Event* self) {
return reinterpret_cast<const whiteout::m3::Event*>(self)->extraParameter;
}
void whiteout_m3_M3Event_set_extraParameter(whiteout_M3Event* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Event*>(self)->extraParameter = value;
}
}
extern "C" {
whiteout_M3Sequence* whiteout_m3_M3Sequence_new(void) {
return reinterpret_cast<whiteout_M3Sequence*>(new whiteout::m3::Sequence());
}
void whiteout_m3_M3Sequence_delete(whiteout_M3Sequence* self) {
delete reinterpret_cast<whiteout::m3::Sequence*>(self);
}
int32_t whiteout_m3_M3Sequence_get_id(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->id;
}
void whiteout_m3_M3Sequence_set_id(whiteout_M3Sequence* self, int32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->id = value;
}
int32_t whiteout_m3_M3Sequence_get_index(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->index;
}
void whiteout_m3_M3Sequence_set_index(whiteout_M3Sequence* self, int32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->index = value;
}
whiteout_CString whiteout_m3_M3Sequence_get_name(const whiteout_M3Sequence* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Sequence*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Sequence_set_name(whiteout_M3Sequence* self, const char* value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3Sequence_get_startFrame(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->startFrame;
}
void whiteout_m3_M3Sequence_set_startFrame(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->startFrame = value;
}
uint32_t whiteout_m3_M3Sequence_get_endFrame(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->endFrame;
}
void whiteout_m3_M3Sequence_set_endFrame(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->endFrame = value;
}
float whiteout_m3_M3Sequence_get_moveSpeed(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->moveSpeed;
}
void whiteout_m3_M3Sequence_set_moveSpeed(whiteout_M3Sequence* self, float value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->moveSpeed = value;
}
int32_t whiteout_m3_M3Sequence_get_flags(const whiteout_M3Sequence* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Sequence*>(self)->flags);
}
void whiteout_m3_M3Sequence_set_flags(whiteout_M3Sequence* self, int32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->flags = static_cast<whiteout::m3::SequenceFlag>(value);
}
uint32_t whiteout_m3_M3Sequence_get_frequency(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->frequency;
}
void whiteout_m3_M3Sequence_set_frequency(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->frequency = value;
}
uint32_t whiteout_m3_M3Sequence_get_replayStart(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->replayStart;
}
void whiteout_m3_M3Sequence_set_replayStart(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->replayStart = value;
}
uint32_t whiteout_m3_M3Sequence_get_replayEnd(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->replayEnd;
}
void whiteout_m3_M3Sequence_set_replayEnd(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->replayEnd = value;
}
uint32_t whiteout_m3_M3Sequence_get_blendTime(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->blendTime;
}
void whiteout_m3_M3Sequence_set_blendTime(whiteout_M3Sequence* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->blendTime = value;
}
whiteout_M3Extent* whiteout_m3_M3Sequence_get_bounds(whiteout_M3Sequence* self) {
return reinterpret_cast<whiteout_M3Extent*>(&reinterpret_cast<whiteout::m3::Sequence*>(self)->bounds);
}
void whiteout_m3_M3Sequence_set_bounds(whiteout_M3Sequence* self, const whiteout_M3Extent* value) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->bounds = *reinterpret_cast<const whiteout::m3::Extent*>(value);
}
size_t whiteout_m3_M3Sequence_get_animationSets_count(const whiteout_M3Sequence* self) {
return reinterpret_cast<const whiteout::m3::Sequence*>(self)->animationSets.size();
}
void whiteout_m3_M3Sequence_resize_animationSets(whiteout_M3Sequence* self, size_t count) {
reinterpret_cast<whiteout::m3::Sequence*>(self)->animationSets.resize(count);
}
const uint8_t* whiteout_m3_M3Sequence_get_animationSets_data(const whiteout_M3Sequence* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Sequence*>(self)->animationSets;
return __v.empty() ? nullptr : reinterpret_cast<const uint8_t*>(__v.data());
}
void whiteout_m3_M3Sequence_assign_animationSets(whiteout_M3Sequence* self, const uint8_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Sequence*>(self)->animationSets;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u8));
}
}
extern "C" {
whiteout_M3SubTrackContainer* whiteout_m3_M3SubTrackContainer_new(void) {
return reinterpret_cast<whiteout_M3SubTrackContainer*>(new whiteout::m3::SubTrackContainer());
}
void whiteout_m3_M3SubTrackContainer_delete(whiteout_M3SubTrackContainer* self) {
delete reinterpret_cast<whiteout::m3::SubTrackContainer*>(self);
}
whiteout_CString whiteout_m3_M3SubTrackContainer_get_name(const whiteout_M3SubTrackContainer* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3SubTrackContainer_set_name(whiteout_M3SubTrackContainer* self, const char* value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->name = (value ? value : "");
}
uint16_t whiteout_m3_M3SubTrackContainer_get_runsConcurrent(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->runsConcurrent;
}
void whiteout_m3_M3SubTrackContainer_set_runsConcurrent(whiteout_M3SubTrackContainer* self, uint16_t value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->runsConcurrent = value;
}
uint16_t whiteout_m3_M3SubTrackContainer_get_animPriority(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animPriority;
}
void whiteout_m3_M3SubTrackContainer_set_animPriority(whiteout_M3SubTrackContainer* self, uint16_t value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animPriority = value;
}
uint16_t whiteout_m3_M3SubTrackContainer_get_animationStateIndex(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animationStateIndex;
}
void whiteout_m3_M3SubTrackContainer_set_animationStateIndex(whiteout_M3SubTrackContainer* self, uint16_t value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animationStateIndex = value;
}
uint16_t whiteout_m3_M3SubTrackContainer_get_padding(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->padding;
}
void whiteout_m3_M3SubTrackContainer_set_padding(whiteout_M3SubTrackContainer* self, uint16_t value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->padding = value;
}
size_t whiteout_m3_M3SubTrackContainer_get_animIds_count(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animIds.size();
}
void whiteout_m3_M3SubTrackContainer_resize_animIds(whiteout_M3SubTrackContainer* self, size_t count) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animIds.resize(count);
}
const uint32_t* whiteout_m3_M3SubTrackContainer_get_animIds_data(const whiteout_M3SubTrackContainer* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animIds;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3SubTrackContainer_assign_animIds(whiteout_M3SubTrackContainer* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animIds;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
size_t whiteout_m3_M3SubTrackContainer_get_animRefs_count(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animRefs.size();
}
void whiteout_m3_M3SubTrackContainer_resize_animRefs(whiteout_M3SubTrackContainer* self, size_t count) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animRefs.resize(count);
}
const uint32_t* whiteout_m3_M3SubTrackContainer_get_animRefs_data(const whiteout_M3SubTrackContainer* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->animRefs;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3SubTrackContainer_assign_animRefs(whiteout_M3SubTrackContainer* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->animRefs;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
uint32_t whiteout_m3_M3SubTrackContainer_get_unknown(const whiteout_M3SubTrackContainer* self) {
return reinterpret_cast<const whiteout::m3::SubTrackContainer*>(self)->unknown;
}
void whiteout_m3_M3SubTrackContainer_set_unknown(whiteout_M3SubTrackContainer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SubTrackContainer*>(self)->unknown = value;
}
}
extern "C" {
whiteout_M3AnimationGroup* whiteout_m3_M3AnimationGroup_new(void) {
return reinterpret_cast<whiteout_M3AnimationGroup*>(new whiteout::m3::AnimationGroup());
}
void whiteout_m3_M3AnimationGroup_delete(whiteout_M3AnimationGroup* self) {
delete reinterpret_cast<whiteout::m3::AnimationGroup*>(self);
}
whiteout_CString whiteout_m3_M3AnimationGroup_get_name(const whiteout_M3AnimationGroup* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::AnimationGroup*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3AnimationGroup_set_name(whiteout_M3AnimationGroup* self, const char* value) {
reinterpret_cast<whiteout::m3::AnimationGroup*>(self)->name = (value ? value : "");
}
size_t whiteout_m3_M3AnimationGroup_get_subtrackIndices_count(const whiteout_M3AnimationGroup* self) {
return reinterpret_cast<const whiteout::m3::AnimationGroup*>(self)->subtrackIndices.size();
}
void whiteout_m3_M3AnimationGroup_resize_subtrackIndices(whiteout_M3AnimationGroup* self, size_t count) {
reinterpret_cast<whiteout::m3::AnimationGroup*>(self)->subtrackIndices.resize(count);
}
const uint32_t* whiteout_m3_M3AnimationGroup_get_subtrackIndices_data(const whiteout_M3AnimationGroup* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::AnimationGroup*>(self)->subtrackIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3AnimationGroup_assign_subtrackIndices(whiteout_M3AnimationGroup* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::AnimationGroup*>(self)->subtrackIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
}
extern "C" {
whiteout_M3AnimationState* whiteout_m3_M3AnimationState_new(void) {
return reinterpret_cast<whiteout_M3AnimationState*>(new whiteout::m3::AnimationState());
}
void whiteout_m3_M3AnimationState_delete(whiteout_M3AnimationState* self) {
delete reinterpret_cast<whiteout::m3::AnimationState*>(self);
}
size_t whiteout_m3_M3AnimationState_get_animIds_count(const whiteout_M3AnimationState* self) {
return reinterpret_cast<const whiteout::m3::AnimationState*>(self)->animIds.size();
}
void whiteout_m3_M3AnimationState_resize_animIds(whiteout_M3AnimationState* self, size_t count) {
reinterpret_cast<whiteout::m3::AnimationState*>(self)->animIds.resize(count);
}
const uint32_t* whiteout_m3_M3AnimationState_get_animIds_data(const whiteout_M3AnimationState* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::AnimationState*>(self)->animIds;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3AnimationState_assign_animIds(whiteout_M3AnimationState* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::AnimationState*>(self)->animIds;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
size_t whiteout_m3_M3AnimationState_unknown_size(void) {
return 16;
}
uint8_t whiteout_m3_M3AnimationState_get_unknown_at(const whiteout_M3AnimationState* self, size_t index) {
return reinterpret_cast<const whiteout::m3::AnimationState*>(self)->unknown[index];
}
void whiteout_m3_M3AnimationState_set_unknown_at(whiteout_M3AnimationState* self, size_t index, uint8_t value) {
reinterpret_cast<whiteout::m3::AnimationState*>(self)->unknown[index] = value;
}
}
extern "C" {
whiteout_M3BoneAnimationSet* whiteout_m3_M3BoneAnimationSet_new(void) {
return reinterpret_cast<whiteout_M3BoneAnimationSet*>(new whiteout::m3::BoneAnimationSet());
}
void whiteout_m3_M3BoneAnimationSet_delete(whiteout_M3BoneAnimationSet* self) {
delete reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self);
}
uint16_t whiteout_m3_M3BoneAnimationSet_get_animationSequenceIndex(const whiteout_M3BoneAnimationSet* self) {
return reinterpret_cast<const whiteout::m3::BoneAnimationSet*>(self)->animationSequenceIndex;
}
void whiteout_m3_M3BoneAnimationSet_set_animationSequenceIndex(whiteout_M3BoneAnimationSet* self, uint16_t value) {
reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self)->animationSequenceIndex = value;
}
uint16_t whiteout_m3_M3BoneAnimationSet_get_fallbackSequenceIndex(const whiteout_M3BoneAnimationSet* self) {
return reinterpret_cast<const whiteout::m3::BoneAnimationSet*>(self)->fallbackSequenceIndex;
}
void whiteout_m3_M3BoneAnimationSet_set_fallbackSequenceIndex(whiteout_M3BoneAnimationSet* self, uint16_t value) {
reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self)->fallbackSequenceIndex = value;
}
whiteout_CString whiteout_m3_M3BoneAnimationSet_get_name(const whiteout_M3BoneAnimationSet* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::BoneAnimationSet*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3BoneAnimationSet_set_name(whiteout_M3BoneAnimationSet* self, const char* value) {
reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self)->name = (value ? value : "");
}
size_t whiteout_m3_M3BoneAnimationSet_get_splitItems_count(const whiteout_M3BoneAnimationSet* self) {
return reinterpret_cast<const whiteout::m3::BoneAnimationSet*>(self)->splitItems.size();
}
void whiteout_m3_M3BoneAnimationSet_resize_splitItems(whiteout_M3BoneAnimationSet* self, size_t count) {
reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self)->splitItems.resize(count);
}
const uint16_t* whiteout_m3_M3BoneAnimationSet_get_splitItems_data(const whiteout_M3BoneAnimationSet* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::BoneAnimationSet*>(self)->splitItems;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3BoneAnimationSet_assign_splitItems(whiteout_M3BoneAnimationSet* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::BoneAnimationSet*>(self)->splitItems;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
}
extern "C" {
whiteout_M3ParticleEmitter* whiteout_m3_M3ParticleEmitter_new(void) {
return reinterpret_cast<whiteout_M3ParticleEmitter*>(new whiteout::m3::ParticleEmitter());
}
void whiteout_m3_M3ParticleEmitter_delete(whiteout_M3ParticleEmitter* self) {
delete reinterpret_cast<whiteout::m3::ParticleEmitter*>(self);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_boneIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->boneIndex;
}
void whiteout_m3_M3ParticleEmitter_set_boneIndex(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->boneIndex = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_materialIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->materialIndex;
}
void whiteout_m3_M3ParticleEmitter_set_materialIndex(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->materialIndex = value;
}
int32_t whiteout_m3_M3ParticleEmitter_get_additionalFlags(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->additionalFlags);
}
void whiteout_m3_M3ParticleEmitter_set_additionalFlags(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->additionalFlags = static_cast<whiteout::m3::ParticleAdditionalFlag>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialSpeed(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialSpeed);
}
void whiteout_m3_M3ParticleEmitter_set_initialSpeed(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialSpeed = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialSpeedRandom(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialSpeedRandom);
}
void whiteout_m3_M3ParticleEmitter_set_initialSpeedRandom(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialSpeedRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialYaw(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialYaw);
}
void whiteout_m3_M3ParticleEmitter_set_initialYaw(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialYaw = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialPitch(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialPitch);
}
void whiteout_m3_M3ParticleEmitter_set_initialPitch(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialPitch = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialHorizontal(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialHorizontal);
}
void whiteout_m3_M3ParticleEmitter_set_initialHorizontal(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialHorizontal = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_initialVertical(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialVertical);
}
void whiteout_m3_M3ParticleEmitter_set_initialVertical(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->initialVertical = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_lifetime(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lifetime);
}
void whiteout_m3_M3ParticleEmitter_set_lifetime(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lifetime = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_lifetimeRandom(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lifetimeRandom);
}
void whiteout_m3_M3ParticleEmitter_set_lifetimeRandom(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lifetimeRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
float whiteout_m3_M3ParticleEmitter_get_killRadius(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->killRadius;
}
void whiteout_m3_M3ParticleEmitter_set_killRadius(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->killRadius = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_gravityX(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->gravityX;
}
void whiteout_m3_M3ParticleEmitter_set_gravityX(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->gravityX = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_gravityY(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->gravityY;
}
void whiteout_m3_M3ParticleEmitter_set_gravityY(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->gravityY = value;
}
float whiteout_m3_M3ParticleEmitter_get_gravity(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->gravity;
}
void whiteout_m3_M3ParticleEmitter_set_gravity(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->gravity = value;
}
float whiteout_m3_M3ParticleEmitter_get_sizeMidTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->sizeMidTime;
}
void whiteout_m3_M3ParticleEmitter_set_sizeMidTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeMidTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_colorMidTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->colorMidTime;
}
void whiteout_m3_M3ParticleEmitter_set_colorMidTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMidTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_alphaMidTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->alphaMidTime;
}
void whiteout_m3_M3ParticleEmitter_set_alphaMidTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaMidTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_rotationMidTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationMidTime;
}
void whiteout_m3_M3ParticleEmitter_set_rotationMidTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationMidTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_sizeMidHoldTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->sizeMidHoldTime;
}
void whiteout_m3_M3ParticleEmitter_set_sizeMidHoldTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeMidHoldTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_colorMidHoldTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->colorMidHoldTime;
}
void whiteout_m3_M3ParticleEmitter_set_colorMidHoldTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMidHoldTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_alphaMidHoldTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->alphaMidHoldTime;
}
void whiteout_m3_M3ParticleEmitter_set_alphaMidHoldTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaMidHoldTime = value;
}
float whiteout_m3_M3ParticleEmitter_get_rotationMidHoldTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationMidHoldTime;
}
void whiteout_m3_M3ParticleEmitter_set_rotationMidHoldTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationMidHoldTime = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_sizeAnimation(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeAnimation);
}
void whiteout_m3_M3ParticleEmitter_set_sizeAnimation(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_rotationAnimation(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationAnimation);
}
void whiteout_m3_M3ParticleEmitter_set_rotationAnimation(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorStart(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorStart);
}
void whiteout_m3_M3ParticleEmitter_set_colorStart(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorStart = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorMid(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMid);
}
void whiteout_m3_M3ParticleEmitter_set_colorMid(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMid = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorEnd(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorEnd);
}
void whiteout_m3_M3ParticleEmitter_set_colorEnd(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorEnd = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
float whiteout_m3_M3ParticleEmitter_get_drag(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->drag;
}
void whiteout_m3_M3ParticleEmitter_set_drag(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->drag = value;
}
float whiteout_m3_M3ParticleEmitter_get_mass(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->mass;
}
void whiteout_m3_M3ParticleEmitter_set_mass(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->mass = value;
}
float whiteout_m3_M3ParticleEmitter_get_massRandom(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->massRandom;
}
void whiteout_m3_M3ParticleEmitter_set_massRandom(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->massRandom = value;
}
float whiteout_m3_M3ParticleEmitter_get_massSizeMultiplier(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->massSizeMultiplier;
}
void whiteout_m3_M3ParticleEmitter_set_massSizeMultiplier(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->massSizeMultiplier = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_localForces(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->localForces;
}
void whiteout_m3_M3ParticleEmitter_set_localForces(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->localForces = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_worldForces(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->worldForces;
}
void whiteout_m3_M3ParticleEmitter_set_worldForces(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->worldForces = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_localForcesFallback(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->localForcesFallback;
}
void whiteout_m3_M3ParticleEmitter_set_localForcesFallback(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->localForcesFallback = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_worldForcesFallback(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->worldForcesFallback;
}
void whiteout_m3_M3ParticleEmitter_set_worldForcesFallback(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->worldForcesFallback = value;
}
float whiteout_m3_M3ParticleEmitter_get_worldForcesMassMultiplier(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->worldForcesMassMultiplier;
}
void whiteout_m3_M3ParticleEmitter_set_worldForcesMassMultiplier(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->worldForcesMassMultiplier = value;
}
float whiteout_m3_M3ParticleEmitter_get_noiseAmplitude(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->noiseAmplitude;
}
void whiteout_m3_M3ParticleEmitter_set_noiseAmplitude(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->noiseAmplitude = value;
}
float whiteout_m3_M3ParticleEmitter_get_noiseFrequency(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->noiseFrequency;
}
void whiteout_m3_M3ParticleEmitter_set_noiseFrequency(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->noiseFrequency = value;
}
float whiteout_m3_M3ParticleEmitter_get_noiseCoherence(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->noiseCoherence;
}
void whiteout_m3_M3ParticleEmitter_set_noiseCoherence(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->noiseCoherence = value;
}
float whiteout_m3_M3ParticleEmitter_get_noiseEdge(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->noiseEdge;
}
void whiteout_m3_M3ParticleEmitter_set_noiseEdge(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->noiseEdge = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_indexPlusLength(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->indexPlusLength;
}
void whiteout_m3_M3ParticleEmitter_set_indexPlusLength(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->indexPlusLength = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_maxParticles(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->maxParticles;
}
void whiteout_m3_M3ParticleEmitter_set_maxParticles(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->maxParticles = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_emissionRate(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->emissionRate);
}
void whiteout_m3_M3ParticleEmitter_set_emissionRate(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->emissionRate = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_emitterShape(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->emitterShape);
}
void whiteout_m3_M3ParticleEmitter_set_emitterShape(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->emitterShape = static_cast<whiteout::m3::EmitterShape>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_shapeOuter(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeOuter);
}
void whiteout_m3_M3ParticleEmitter_set_shapeOuter(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeOuter = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_shapeInner(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeInner);
}
void whiteout_m3_M3ParticleEmitter_set_shapeInner(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeInner = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_outerRadius(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->outerRadius);
}
void whiteout_m3_M3ParticleEmitter_set_outerRadius(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->outerRadius = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_innerRadius(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->innerRadius);
}
void whiteout_m3_M3ParticleEmitter_set_innerRadius(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->innerRadius = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
size_t whiteout_m3_M3ParticleEmitter_get_shapeRegions_count(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->shapeRegions.size();
}
void whiteout_m3_M3ParticleEmitter_resize_shapeRegions(whiteout_M3ParticleEmitter* self, size_t count) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeRegions.resize(count);
}
const uint32_t* whiteout_m3_M3ParticleEmitter_get_shapeRegions_data(const whiteout_M3ParticleEmitter* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->shapeRegions;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3ParticleEmitter_assign_shapeRegions(whiteout_M3ParticleEmitter* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->shapeRegions;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
uint32_t whiteout_m3_M3ParticleEmitter_get_velocityType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->velocityType;
}
void whiteout_m3_M3ParticleEmitter_set_velocityType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->velocityType = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_sizeRandomEnable(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->sizeRandomEnable;
}
void whiteout_m3_M3ParticleEmitter_set_sizeRandomEnable(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeRandomEnable = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_sizeRandomAnimation(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeRandomAnimation);
}
void whiteout_m3_M3ParticleEmitter_set_sizeRandomAnimation(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeRandomAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_rotationRandomEnable(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationRandomEnable;
}
void whiteout_m3_M3ParticleEmitter_set_rotationRandomEnable(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationRandomEnable = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_rotationRandomAnimation(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationRandomAnimation);
}
void whiteout_m3_M3ParticleEmitter_set_rotationRandomAnimation(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationRandomAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_colorRandomEnable(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->colorRandomEnable;
}
void whiteout_m3_M3ParticleEmitter_set_colorRandomEnable(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorRandomEnable = value;
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorStartRandom(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorStartRandom);
}
void whiteout_m3_M3ParticleEmitter_set_colorStartRandom(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorStartRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorMidRandom(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMidRandom);
}
void whiteout_m3_M3ParticleEmitter_set_colorMidRandom(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorMidRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3ParticleEmitter_get_colorEndRandom(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorEndRandom);
}
void whiteout_m3_M3ParticleEmitter_set_colorEndRandom(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorEndRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_alphaRandomEnable(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->alphaRandomEnable;
}
void whiteout_m3_M3ParticleEmitter_set_alphaRandomEnable(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaRandomEnable = value;
}
whiteout_M3AnimRefU16* whiteout_m3_M3ParticleEmitter_get_squirtAmount(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefU16*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->squirtAmount);
}
void whiteout_m3_M3ParticleEmitter_set_squirtAmount(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefU16* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->squirtAmount = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(value);
}
uint8_t whiteout_m3_M3ParticleEmitter_get_flipbookStartInitIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookStartInitIndex;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookStartInitIndex(whiteout_M3ParticleEmitter* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookStartInitIndex = value;
}
uint8_t whiteout_m3_M3ParticleEmitter_get_flipbookStartStopIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookStartStopIndex;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookStartStopIndex(whiteout_M3ParticleEmitter* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookStartStopIndex = value;
}
uint8_t whiteout_m3_M3ParticleEmitter_get_flipbookEndInitIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookEndInitIndex;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookEndInitIndex(whiteout_M3ParticleEmitter* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookEndInitIndex = value;
}
uint8_t whiteout_m3_M3ParticleEmitter_get_flipbookEndStopIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookEndStopIndex;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookEndStopIndex(whiteout_M3ParticleEmitter* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookEndStopIndex = value;
}
float whiteout_m3_M3ParticleEmitter_get_flipbookMidTime(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookMidTime;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookMidTime(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookMidTime = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_flipbookColumns(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookColumns;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookColumns(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookColumns = value;
}
uint16_t whiteout_m3_M3ParticleEmitter_get_flipbookRows(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookRows;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookRows(whiteout_M3ParticleEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookRows = value;
}
float whiteout_m3_M3ParticleEmitter_get_flipbookColumnFraction(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookColumnFraction;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookColumnFraction(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookColumnFraction = value;
}
float whiteout_m3_M3ParticleEmitter_get_flipbookRowFraction(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flipbookRowFraction;
}
void whiteout_m3_M3ParticleEmitter_set_flipbookRowFraction(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flipbookRowFraction = value;
}
float whiteout_m3_M3ParticleEmitter_get_bounce(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->bounce;
}
void whiteout_m3_M3ParticleEmitter_set_bounce(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->bounce = value;
}
float whiteout_m3_M3ParticleEmitter_get_friction(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->friction;
}
void whiteout_m3_M3ParticleEmitter_set_friction(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->friction = value;
}
int32_t whiteout_m3_M3ParticleEmitter_get_collisionSpawnIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionSpawnIndex;
}
void whiteout_m3_M3ParticleEmitter_set_collisionSpawnIndex(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionSpawnIndex = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_collisionSpawnMin(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionSpawnMin;
}
void whiteout_m3_M3ParticleEmitter_set_collisionSpawnMin(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionSpawnMin = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_collisionSpawnMax(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionSpawnMax;
}
void whiteout_m3_M3ParticleEmitter_set_collisionSpawnMax(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionSpawnMax = value;
}
float whiteout_m3_M3ParticleEmitter_get_collisionSpawnChance(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionSpawnChance;
}
void whiteout_m3_M3ParticleEmitter_set_collisionSpawnChance(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionSpawnChance = value;
}
float whiteout_m3_M3ParticleEmitter_get_collisionSpawnEnergy(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionSpawnEnergy;
}
void whiteout_m3_M3ParticleEmitter_set_collisionSpawnEnergy(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionSpawnEnergy = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_collisionDieBounce(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->collisionDieBounce;
}
void whiteout_m3_M3ParticleEmitter_set_collisionDieBounce(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->collisionDieBounce = value;
}
int32_t whiteout_m3_M3ParticleEmitter_get_instanceType(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->instanceType);
}
void whiteout_m3_M3ParticleEmitter_set_instanceType(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->instanceType = static_cast<whiteout::m3::ParticleInstanceType>(value);
}
float whiteout_m3_M3ParticleEmitter_get_tailLength(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->tailLength;
}
void whiteout_m3_M3ParticleEmitter_set_tailLength(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->tailLength = value;
}
whiteout_Vector3f* whiteout_m3_M3ParticleEmitter_get_instanceAngle(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->instanceAngle);
}
void whiteout_m3_M3ParticleEmitter_set_instanceAngle(whiteout_M3ParticleEmitter* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->instanceAngle = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
float whiteout_m3_M3ParticleEmitter_get_instanceDistance(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->instanceDistance;
}
void whiteout_m3_M3ParticleEmitter_set_instanceDistance(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->instanceDistance = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_pitchType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->pitchType;
}
void whiteout_m3_M3ParticleEmitter_set_pitchType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->pitchType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_pitchAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->pitchAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_pitchAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->pitchAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_pitchFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->pitchFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_pitchFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->pitchFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_yawType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->yawType;
}
void whiteout_m3_M3ParticleEmitter_set_yawType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->yawType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_yawAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->yawAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_yawAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->yawAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_yawFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->yawFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_yawFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->yawFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_speedType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->speedType;
}
void whiteout_m3_M3ParticleEmitter_set_speedType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->speedType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_speedAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->speedAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_speedAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->speedAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_speedFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->speedFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_speedFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->speedFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_sizeType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->sizeType;
}
void whiteout_m3_M3ParticleEmitter_set_sizeType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_sizeAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_sizeAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_sizeFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_sizeFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_alphaType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->alphaType;
}
void whiteout_m3_M3ParticleEmitter_set_alphaType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_alphaAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_alphaAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_alphaFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_alphaFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_colorType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->colorType;
}
void whiteout_m3_M3ParticleEmitter_set_colorType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_colorAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_colorAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_colorFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_colorFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_rotationType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationType;
}
void whiteout_m3_M3ParticleEmitter_set_rotationType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_rotationAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_rotationAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_rotationFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_rotationFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_horizontalType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->horizontalType;
}
void whiteout_m3_M3ParticleEmitter_set_horizontalType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->horizontalType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_horizontalAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->horizontalAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_horizontalAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->horizontalAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_horizontalFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->horizontalFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_horizontalFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->horizontalFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitter_get_verticalType(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->verticalType;
}
void whiteout_m3_M3ParticleEmitter_set_verticalType(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->verticalType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_verticalAmplitude(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->verticalAmplitude);
}
void whiteout_m3_M3ParticleEmitter_set_verticalAmplitude(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->verticalAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_verticalFrequency(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->verticalFrequency);
}
void whiteout_m3_M3ParticleEmitter_set_verticalFrequency(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->verticalFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_particleVelocity(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->particleVelocity);
}
void whiteout_m3_M3ParticleEmitter_set_particleVelocity(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->particleVelocity = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_phaseShift(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->phaseShift);
}
void whiteout_m3_M3ParticleEmitter_set_phaseShift(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->phaseShift = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_flags(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->flags);
}
void whiteout_m3_M3ParticleEmitter_set_flags(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->flags = static_cast<whiteout::m3::ParticleFlag>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_rotationFlags(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationFlags);
}
void whiteout_m3_M3ParticleEmitter_set_rotationFlags(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationFlags = static_cast<whiteout::m3::ParticleRotationFlag>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_colorSmoothing(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->colorSmoothing);
}
void whiteout_m3_M3ParticleEmitter_set_colorSmoothing(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->colorSmoothing = static_cast<whiteout::m3::InterpolationMode>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_sizeSmoothing(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->sizeSmoothing);
}
void whiteout_m3_M3ParticleEmitter_set_sizeSmoothing(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->sizeSmoothing = static_cast<whiteout::m3::InterpolationMode>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_rotationSmoothing(const whiteout_M3ParticleEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->rotationSmoothing);
}
void whiteout_m3_M3ParticleEmitter_set_rotationSmoothing(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->rotationSmoothing = static_cast<whiteout::m3::InterpolationMode>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_alphaThreshold(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaThreshold);
}
void whiteout_m3_M3ParticleEmitter_set_alphaThreshold(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->alphaThreshold = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefVector2f* whiteout_m3_M3ParticleEmitter_get_uvOffset(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector2f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvOffset);
}
void whiteout_m3_M3ParticleEmitter_set_uvOffset(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector2f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvOffset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_uvAngle(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvAngle);
}
void whiteout_m3_M3ParticleEmitter_set_uvAngle(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvAngle = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector2f* whiteout_m3_M3ParticleEmitter_get_uvTiling(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector2f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvTiling);
}
void whiteout_m3_M3ParticleEmitter_set_uvTiling(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefVector2f* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->uvTiling = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(value);
}
size_t whiteout_m3_M3ParticleEmitter_get_splineLineData_count(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->splineLineData.size();
}
void whiteout_m3_M3ParticleEmitter_resize_splineLineData(whiteout_M3ParticleEmitter* self, size_t count) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->splineLineData.resize(count);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ParticleEmitter_get_splineLineData_at(whiteout_M3ParticleEmitter* self, size_t index) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->splineLineData[index]);
}
float whiteout_m3_M3ParticleEmitter_get_windMultiplier(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->windMultiplier;
}
void whiteout_m3_M3ParticleEmitter_set_windMultiplier(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->windMultiplier = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_lodReduce(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->lodReduce;
}
void whiteout_m3_M3ParticleEmitter_set_lodReduce(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lodReduce = value;
}
uint32_t whiteout_m3_M3ParticleEmitter_get_lodCut(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->lodCut;
}
void whiteout_m3_M3ParticleEmitter_set_lodCut(whiteout_M3ParticleEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lodCut = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_lowerBound(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lowerBound);
}
void whiteout_m3_M3ParticleEmitter_set_lowerBound(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->lowerBound = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_upperBound(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->upperBound);
}
void whiteout_m3_M3ParticleEmitter_set_upperBound(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->upperBound = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_trailLinkIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->trailLinkIndex;
}
void whiteout_m3_M3ParticleEmitter_set_trailLinkIndex(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->trailLinkIndex = value;
}
float whiteout_m3_M3ParticleEmitter_get_trailChance(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->trailChance;
}
void whiteout_m3_M3ParticleEmitter_set_trailChance(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->trailChance = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitter_get_trailEmissionRate(whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->trailEmissionRate);
}
void whiteout_m3_M3ParticleEmitter_set_trailEmissionRate(whiteout_M3ParticleEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->trailEmissionRate = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
int32_t whiteout_m3_M3ParticleEmitter_get_splatProjectionIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->splatProjectionIndex;
}
void whiteout_m3_M3ParticleEmitter_set_splatProjectionIndex(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->splatProjectionIndex = value;
}
float whiteout_m3_M3ParticleEmitter_get_splatChance(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->splatChance;
}
void whiteout_m3_M3ParticleEmitter_set_splatChance(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->splatChance = value;
}
size_t whiteout_m3_M3ParticleEmitter_get_copyIndices_count(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->copyIndices.size();
}
void whiteout_m3_M3ParticleEmitter_resize_copyIndices(whiteout_M3ParticleEmitter* self, size_t count) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->copyIndices.resize(count);
}
const uint32_t* whiteout_m3_M3ParticleEmitter_get_copyIndices_data(const whiteout_M3ParticleEmitter* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->copyIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3ParticleEmitter_assign_copyIndices(whiteout_M3ParticleEmitter* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->copyIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
float whiteout_m3_M3ParticleEmitter_get_spawnRibbonOnBounceChance(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->spawnRibbonOnBounceChance;
}
void whiteout_m3_M3ParticleEmitter_set_spawnRibbonOnBounceChance(whiteout_M3ParticleEmitter* self, float value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->spawnRibbonOnBounceChance = value;
}
int32_t whiteout_m3_M3ParticleEmitter_get_ribbonLinkIndex(const whiteout_M3ParticleEmitter* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitter*>(self)->ribbonLinkIndex;
}
void whiteout_m3_M3ParticleEmitter_set_ribbonLinkIndex(whiteout_M3ParticleEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitter*>(self)->ribbonLinkIndex = value;
}
}
extern "C" {
whiteout_M3ParticleEmitterCopy* whiteout_m3_M3ParticleEmitterCopy_new(void) {
return reinterpret_cast<whiteout_M3ParticleEmitterCopy*>(new whiteout::m3::ParticleEmitterCopy());
}
void whiteout_m3_M3ParticleEmitterCopy_delete(whiteout_M3ParticleEmitterCopy* self) {
delete reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ParticleEmitterCopy_get_emissionRate(whiteout_M3ParticleEmitterCopy* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self)->emissionRate);
}
void whiteout_m3_M3ParticleEmitterCopy_set_emissionRate(whiteout_M3ParticleEmitterCopy* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self)->emissionRate = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefU16* whiteout_m3_M3ParticleEmitterCopy_get_squirtAmount(whiteout_M3ParticleEmitterCopy* self) {
return reinterpret_cast<whiteout_M3AnimRefU16*>(&reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self)->squirtAmount);
}
void whiteout_m3_M3ParticleEmitterCopy_set_squirtAmount(whiteout_M3ParticleEmitterCopy* self, const whiteout_M3AnimRefU16* value) {
reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self)->squirtAmount = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(value);
}
uint32_t whiteout_m3_M3ParticleEmitterCopy_get_boneIndex(const whiteout_M3ParticleEmitterCopy* self) {
return reinterpret_cast<const whiteout::m3::ParticleEmitterCopy*>(self)->boneIndex;
}
void whiteout_m3_M3ParticleEmitterCopy_set_boneIndex(whiteout_M3ParticleEmitterCopy* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ParticleEmitterCopy*>(self)->boneIndex = value;
}
}
extern "C" {
whiteout_M3SplineRibbon* whiteout_m3_M3SplineRibbon_new(void) {
return reinterpret_cast<whiteout_M3SplineRibbon*>(new whiteout::m3::SplineRibbon());
}
void whiteout_m3_M3SplineRibbon_delete(whiteout_M3SplineRibbon* self) {
delete reinterpret_cast<whiteout::m3::SplineRibbon*>(self);
}
whiteout_Vector3f* whiteout_m3_M3SplineRibbon_get_emissionOffset(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->emissionOffset);
}
void whiteout_m3_M3SplineRibbon_set_emissionOffset(whiteout_M3SplineRibbon* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->emissionOffset = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3SplineRibbon_get_emissionVector(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->emissionVector);
}
void whiteout_m3_M3SplineRibbon_set_emissionVector(whiteout_M3SplineRibbon* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->emissionVector = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_velocity(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocity);
}
void whiteout_m3_M3SplineRibbon_set_velocity(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocity = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3SplineRibbon_get_reserved(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->reserved;
}
void whiteout_m3_M3SplineRibbon_set_reserved(whiteout_M3SplineRibbon* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->reserved = value;
}
uint32_t whiteout_m3_M3SplineRibbon_get_boneIndex(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->boneIndex;
}
void whiteout_m3_M3SplineRibbon_set_boneIndex(whiteout_M3SplineRibbon* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->boneIndex = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_velocityBaseFactor(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityBaseFactor);
}
void whiteout_m3_M3SplineRibbon_set_velocityBaseFactor(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityBaseFactor = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_velocityEndFactor(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityEndFactor);
}
void whiteout_m3_M3SplineRibbon_set_velocityEndFactor(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityEndFactor = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3SplineRibbon_get_yawType(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->yawType;
}
void whiteout_m3_M3SplineRibbon_set_yawType(whiteout_M3SplineRibbon* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yawType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_yawAmplitude(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yawAmplitude);
}
void whiteout_m3_M3SplineRibbon_set_yawAmplitude(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yawAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_yawFrequency(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yawFrequency);
}
void whiteout_m3_M3SplineRibbon_set_yawFrequency(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yawFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3SplineRibbon_get_pitchType(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->pitchType;
}
void whiteout_m3_M3SplineRibbon_set_pitchType(whiteout_M3SplineRibbon* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitchType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_pitchAmplitude(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitchAmplitude);
}
void whiteout_m3_M3SplineRibbon_set_pitchAmplitude(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitchAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_pitchFrequency(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitchFrequency);
}
void whiteout_m3_M3SplineRibbon_set_pitchFrequency(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitchFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3SplineRibbon_get_velocityType(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->velocityType;
}
void whiteout_m3_M3SplineRibbon_set_velocityType(whiteout_M3SplineRibbon* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_velocityAmplitude(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityAmplitude);
}
void whiteout_m3_M3SplineRibbon_set_velocityAmplitude(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_velocityFrequency(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityFrequency);
}
void whiteout_m3_M3SplineRibbon_set_velocityFrequency(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_yaw(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yaw);
}
void whiteout_m3_M3SplineRibbon_set_yaw(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->yaw = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3SplineRibbon_get_pitch(whiteout_M3SplineRibbon* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitch);
}
void whiteout_m3_M3SplineRibbon_set_pitch(whiteout_M3SplineRibbon* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->pitch = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
float whiteout_m3_M3SplineRibbon_get_emissionVectorNormFactor(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->emissionVectorNormFactor;
}
void whiteout_m3_M3SplineRibbon_set_emissionVectorNormFactor(whiteout_M3SplineRibbon* self, float value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->emissionVectorNormFactor = value;
}
float whiteout_m3_M3SplineRibbon_get_velocityNormFactor(const whiteout_M3SplineRibbon* self) {
return reinterpret_cast<const whiteout::m3::SplineRibbon*>(self)->velocityNormFactor;
}
void whiteout_m3_M3SplineRibbon_set_velocityNormFactor(whiteout_M3SplineRibbon* self, float value) {
reinterpret_cast<whiteout::m3::SplineRibbon*>(self)->velocityNormFactor = value;
}
}
extern "C" {
whiteout_M3RibbonEmitter* whiteout_m3_M3RibbonEmitter_new(void) {
return reinterpret_cast<whiteout_M3RibbonEmitter*>(new whiteout::m3::RibbonEmitter());
}
void whiteout_m3_M3RibbonEmitter_delete(whiteout_M3RibbonEmitter* self) {
delete reinterpret_cast<whiteout::m3::RibbonEmitter*>(self);
}
uint16_t whiteout_m3_M3RibbonEmitter_get_boneIndex(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->boneIndex;
}
void whiteout_m3_M3RibbonEmitter_set_boneIndex(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->boneIndex = value;
}
uint16_t whiteout_m3_M3RibbonEmitter_get_boneIndexFallback(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->boneIndexFallback;
}
void whiteout_m3_M3RibbonEmitter_set_boneIndexFallback(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->boneIndexFallback = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_materialIndex(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->materialIndex;
}
void whiteout_m3_M3RibbonEmitter_set_materialIndex(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->materialIndex = value;
}
int32_t whiteout_m3_M3RibbonEmitter_get_additionalFlags(const whiteout_M3RibbonEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->additionalFlags);
}
void whiteout_m3_M3RibbonEmitter_set_additionalFlags(whiteout_M3RibbonEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->additionalFlags = static_cast<whiteout::m3::RibbonAdditionalFlag>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialSpeed(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialSpeed);
}
void whiteout_m3_M3RibbonEmitter_set_initialSpeed(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialSpeed = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialSpeedRandom(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialSpeedRandom);
}
void whiteout_m3_M3RibbonEmitter_set_initialSpeedRandom(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialSpeedRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialYaw(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialYaw);
}
void whiteout_m3_M3RibbonEmitter_set_initialYaw(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialYaw = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialPitch(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialPitch);
}
void whiteout_m3_M3RibbonEmitter_set_initialPitch(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialPitch = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialHorizontal(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialHorizontal);
}
void whiteout_m3_M3RibbonEmitter_set_initialHorizontal(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialHorizontal = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_initialVertical(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialVertical);
}
void whiteout_m3_M3RibbonEmitter_set_initialVertical(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->initialVertical = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_lifetime(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lifetime);
}
void whiteout_m3_M3RibbonEmitter_set_lifetime(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lifetime = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_lifetimeRandom(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lifetimeRandom);
}
void whiteout_m3_M3RibbonEmitter_set_lifetimeRandom(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lifetimeRandom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3RibbonEmitter_get_killRadius(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->killRadius;
}
void whiteout_m3_M3RibbonEmitter_set_killRadius(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->killRadius = value;
}
float whiteout_m3_M3RibbonEmitter_get_gravityX(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->gravityX;
}
void whiteout_m3_M3RibbonEmitter_set_gravityX(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->gravityX = value;
}
float whiteout_m3_M3RibbonEmitter_get_gravityY(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->gravityY;
}
void whiteout_m3_M3RibbonEmitter_set_gravityY(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->gravityY = value;
}
float whiteout_m3_M3RibbonEmitter_get_gravity(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->gravity;
}
void whiteout_m3_M3RibbonEmitter_set_gravity(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->gravity = value;
}
float whiteout_m3_M3RibbonEmitter_get_sizeMidTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->sizeMidTime;
}
void whiteout_m3_M3RibbonEmitter_set_sizeMidTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeMidTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_colorMidTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->colorMidTime;
}
void whiteout_m3_M3RibbonEmitter_set_colorMidTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorMidTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_alphaMidTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->alphaMidTime;
}
void whiteout_m3_M3RibbonEmitter_set_alphaMidTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaMidTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_rotationMidTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->rotationMidTime;
}
void whiteout_m3_M3RibbonEmitter_set_rotationMidTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->rotationMidTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_sizeMidHoldTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->sizeMidHoldTime;
}
void whiteout_m3_M3RibbonEmitter_set_sizeMidHoldTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeMidHoldTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_colorMidHoldTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->colorMidHoldTime;
}
void whiteout_m3_M3RibbonEmitter_set_colorMidHoldTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorMidHoldTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_alphaMidHoldTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->alphaMidHoldTime;
}
void whiteout_m3_M3RibbonEmitter_set_alphaMidHoldTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaMidHoldTime = value;
}
float whiteout_m3_M3RibbonEmitter_get_rotationMidHoldTime(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->rotationMidHoldTime;
}
void whiteout_m3_M3RibbonEmitter_set_rotationMidHoldTime(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->rotationMidHoldTime = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3RibbonEmitter_get_sizeAnimation(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeAnimation);
}
void whiteout_m3_M3RibbonEmitter_set_sizeAnimation(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3RibbonEmitter_get_rotationAnimation(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->rotationAnimation);
}
void whiteout_m3_M3RibbonEmitter_set_rotationAnimation(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->rotationAnimation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3RibbonEmitter_get_colorStart(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorStart);
}
void whiteout_m3_M3RibbonEmitter_set_colorStart(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorStart = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3RibbonEmitter_get_colorMid(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorMid);
}
void whiteout_m3_M3RibbonEmitter_set_colorMid(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorMid = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3RibbonEmitter_get_colorEnd(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorEnd);
}
void whiteout_m3_M3RibbonEmitter_set_colorEnd(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorEnd = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
float whiteout_m3_M3RibbonEmitter_get_drag(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->drag;
}
void whiteout_m3_M3RibbonEmitter_set_drag(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->drag = value;
}
float whiteout_m3_M3RibbonEmitter_get_mass(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->mass;
}
void whiteout_m3_M3RibbonEmitter_set_mass(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->mass = value;
}
float whiteout_m3_M3RibbonEmitter_get_massRandom(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->massRandom;
}
void whiteout_m3_M3RibbonEmitter_set_massRandom(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->massRandom = value;
}
float whiteout_m3_M3RibbonEmitter_get_massSizeMultiplier(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->massSizeMultiplier;
}
void whiteout_m3_M3RibbonEmitter_set_massSizeMultiplier(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->massSizeMultiplier = value;
}
uint16_t whiteout_m3_M3RibbonEmitter_get_localForces(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->localForces;
}
void whiteout_m3_M3RibbonEmitter_set_localForces(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->localForces = value;
}
uint16_t whiteout_m3_M3RibbonEmitter_get_worldForces(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->worldForces;
}
void whiteout_m3_M3RibbonEmitter_set_worldForces(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->worldForces = value;
}
uint16_t whiteout_m3_M3RibbonEmitter_get_localForcesFallback(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->localForcesFallback;
}
void whiteout_m3_M3RibbonEmitter_set_localForcesFallback(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->localForcesFallback = value;
}
uint16_t whiteout_m3_M3RibbonEmitter_get_worldForcesFallback(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->worldForcesFallback;
}
void whiteout_m3_M3RibbonEmitter_set_worldForcesFallback(whiteout_M3RibbonEmitter* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->worldForcesFallback = value;
}
float whiteout_m3_M3RibbonEmitter_get_worldForcesMassMultiplier(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->worldForcesMassMultiplier;
}
void whiteout_m3_M3RibbonEmitter_set_worldForcesMassMultiplier(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->worldForcesMassMultiplier = value;
}
float whiteout_m3_M3RibbonEmitter_get_noiseAmplitude(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->noiseAmplitude;
}
void whiteout_m3_M3RibbonEmitter_set_noiseAmplitude(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->noiseAmplitude = value;
}
float whiteout_m3_M3RibbonEmitter_get_noiseFrequency(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->noiseFrequency;
}
void whiteout_m3_M3RibbonEmitter_set_noiseFrequency(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->noiseFrequency = value;
}
float whiteout_m3_M3RibbonEmitter_get_noiseCoherence(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->noiseCoherence;
}
void whiteout_m3_M3RibbonEmitter_set_noiseCoherence(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->noiseCoherence = value;
}
float whiteout_m3_M3RibbonEmitter_get_noiseEdge(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->noiseEdge;
}
void whiteout_m3_M3RibbonEmitter_set_noiseEdge(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->noiseEdge = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_indexPlusLength(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->indexPlusLength;
}
void whiteout_m3_M3RibbonEmitter_set_indexPlusLength(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->indexPlusLength = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_emitterShape(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->emitterShape;
}
void whiteout_m3_M3RibbonEmitter_set_emitterShape(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->emitterShape = value;
}
int32_t whiteout_m3_M3RibbonEmitter_get_ribbonType(const whiteout_M3RibbonEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->ribbonType);
}
void whiteout_m3_M3RibbonEmitter_set_ribbonType(whiteout_M3RibbonEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->ribbonType = static_cast<whiteout::m3::RibbonType>(value);
}
float whiteout_m3_M3RibbonEmitter_get_divisions(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->divisions;
}
void whiteout_m3_M3RibbonEmitter_set_divisions(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->divisions = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_edges(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->edges;
}
void whiteout_m3_M3RibbonEmitter_set_edges(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->edges = value;
}
float whiteout_m3_M3RibbonEmitter_get_innerRadius(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->innerRadius;
}
void whiteout_m3_M3RibbonEmitter_set_innerRadius(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->innerRadius = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_maxLength(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->maxLength);
}
void whiteout_m3_M3RibbonEmitter_set_maxLength(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->maxLength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
size_t whiteout_m3_M3RibbonEmitter_get_splineRibbons_count(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->splineRibbons.size();
}
void whiteout_m3_M3RibbonEmitter_resize_splineRibbons(whiteout_M3RibbonEmitter* self, size_t count) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->splineRibbons.resize(count);
}
whiteout_M3SplineRibbon* whiteout_m3_M3RibbonEmitter_get_splineRibbons_at(whiteout_M3RibbonEmitter* self, size_t index) {
return reinterpret_cast<whiteout_M3SplineRibbon*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->splineRibbons[index]);
}
whiteout_M3AnimRefU32* whiteout_m3_M3RibbonEmitter_get_active(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->active);
}
void whiteout_m3_M3RibbonEmitter_set_active(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->active = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
int32_t whiteout_m3_M3RibbonEmitter_get_flags(const whiteout_M3RibbonEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->flags);
}
void whiteout_m3_M3RibbonEmitter_set_flags(whiteout_M3RibbonEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->flags = static_cast<whiteout::m3::RibbonFlag>(value);
}
int32_t whiteout_m3_M3RibbonEmitter_get_sizeSmoothing(const whiteout_M3RibbonEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->sizeSmoothing);
}
void whiteout_m3_M3RibbonEmitter_set_sizeSmoothing(whiteout_M3RibbonEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeSmoothing = static_cast<whiteout::m3::InterpolationMode>(value);
}
int32_t whiteout_m3_M3RibbonEmitter_get_colorSmoothing(const whiteout_M3RibbonEmitter* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->colorSmoothing);
}
void whiteout_m3_M3RibbonEmitter_set_colorSmoothing(whiteout_M3RibbonEmitter* self, int32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->colorSmoothing = static_cast<whiteout::m3::InterpolationMode>(value);
}
float whiteout_m3_M3RibbonEmitter_get_friction(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->friction;
}
void whiteout_m3_M3RibbonEmitter_set_friction(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->friction = value;
}
float whiteout_m3_M3RibbonEmitter_get_bounce(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->bounce;
}
void whiteout_m3_M3RibbonEmitter_set_bounce(whiteout_M3RibbonEmitter* self, float value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->bounce = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_lodReduce(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->lodReduce;
}
void whiteout_m3_M3RibbonEmitter_set_lodReduce(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lodReduce = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_lodCut(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->lodCut;
}
void whiteout_m3_M3RibbonEmitter_set_lodCut(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->lodCut = value;
}
uint32_t whiteout_m3_M3RibbonEmitter_get_yawType(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->yawType;
}
void whiteout_m3_M3RibbonEmitter_set_yawType(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->yawType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_yawAmplitude(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->yawAmplitude);
}
void whiteout_m3_M3RibbonEmitter_set_yawAmplitude(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->yawAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_yawFrequency(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->yawFrequency);
}
void whiteout_m3_M3RibbonEmitter_set_yawFrequency(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->yawFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3RibbonEmitter_get_pitchType(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->pitchType;
}
void whiteout_m3_M3RibbonEmitter_set_pitchType(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->pitchType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_pitchAmplitude(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->pitchAmplitude);
}
void whiteout_m3_M3RibbonEmitter_set_pitchAmplitude(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->pitchAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_pitchFrequency(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->pitchFrequency);
}
void whiteout_m3_M3RibbonEmitter_set_pitchFrequency(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->pitchFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3RibbonEmitter_get_speedType(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->speedType;
}
void whiteout_m3_M3RibbonEmitter_set_speedType(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->speedType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_speedAmplitude(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->speedAmplitude);
}
void whiteout_m3_M3RibbonEmitter_set_speedAmplitude(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->speedAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_speedFrequency(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->speedFrequency);
}
void whiteout_m3_M3RibbonEmitter_set_speedFrequency(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->speedFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3RibbonEmitter_get_sizeType(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->sizeType;
}
void whiteout_m3_M3RibbonEmitter_set_sizeType(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_sizeAmplitude(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeAmplitude);
}
void whiteout_m3_M3RibbonEmitter_set_sizeAmplitude(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_sizeFrequency(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeFrequency);
}
void whiteout_m3_M3RibbonEmitter_set_sizeFrequency(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->sizeFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3RibbonEmitter_get_alphaType(const whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<const whiteout::m3::RibbonEmitter*>(self)->alphaType;
}
void whiteout_m3_M3RibbonEmitter_set_alphaType(whiteout_M3RibbonEmitter* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_alphaAmplitude(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaAmplitude);
}
void whiteout_m3_M3RibbonEmitter_set_alphaAmplitude(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaAmplitude = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_alphaFrequency(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaFrequency);
}
void whiteout_m3_M3RibbonEmitter_set_alphaFrequency(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->alphaFrequency = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_particleVelocity(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->particleVelocity);
}
void whiteout_m3_M3RibbonEmitter_set_particleVelocity(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->particleVelocity = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3RibbonEmitter_get_overlay(whiteout_M3RibbonEmitter* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->overlay);
}
void whiteout_m3_M3RibbonEmitter_set_overlay(whiteout_M3RibbonEmitter* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::RibbonEmitter*>(self)->overlay = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3Projector* whiteout_m3_M3Projector_new(void) {
return reinterpret_cast<whiteout_M3Projector*>(new whiteout::m3::Projector());
}
void whiteout_m3_M3Projector_delete(whiteout_M3Projector* self) {
delete reinterpret_cast<whiteout::m3::Projector*>(self);
}
int32_t whiteout_m3_M3Projector_get_projectionType(const whiteout_M3Projector* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Projector*>(self)->projectionType);
}
void whiteout_m3_M3Projector_set_projectionType(whiteout_M3Projector* self, int32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->projectionType = static_cast<whiteout::m3::ProjectionType>(value);
}
uint32_t whiteout_m3_M3Projector_get_bone(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->bone;
}
void whiteout_m3_M3Projector_set_bone(whiteout_M3Projector* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->bone = value;
}
uint32_t whiteout_m3_M3Projector_get_materialReferenceIndex(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->materialReferenceIndex;
}
void whiteout_m3_M3Projector_set_materialReferenceIndex(whiteout_M3Projector* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->materialReferenceIndex = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3Projector_get_offset(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->offset);
}
void whiteout_m3_M3Projector_set_offset(whiteout_M3Projector* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->offset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_pitch(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->pitch);
}
void whiteout_m3_M3Projector_set_pitch(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->pitch = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_yaw(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->yaw);
}
void whiteout_m3_M3Projector_set_yaw(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->yaw = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_roll(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->roll);
}
void whiteout_m3_M3Projector_set_roll(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->roll = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_fieldOfView(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->fieldOfView);
}
void whiteout_m3_M3Projector_set_fieldOfView(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->fieldOfView = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_aspectRatio(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->aspectRatio);
}
void whiteout_m3_M3Projector_set_aspectRatio(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->aspectRatio = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_near(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->near);
}
void whiteout_m3_M3Projector_set_near(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->near = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_far(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->far);
}
void whiteout_m3_M3Projector_set_far(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->far = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetZBottom(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetZBottom);
}
void whiteout_m3_M3Projector_set_boxOffsetZBottom(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetZBottom = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetZTop(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetZTop);
}
void whiteout_m3_M3Projector_set_boxOffsetZTop(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetZTop = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetXLeft(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetXLeft);
}
void whiteout_m3_M3Projector_set_boxOffsetXLeft(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetXLeft = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetXRight(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetXRight);
}
void whiteout_m3_M3Projector_set_boxOffsetXRight(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetXRight = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetYFront(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetYFront);
}
void whiteout_m3_M3Projector_set_boxOffsetYFront(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetYFront = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Projector_get_boxOffsetYBack(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetYBack);
}
void whiteout_m3_M3Projector_set_boxOffsetYBack(whiteout_M3Projector* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->boxOffsetYBack = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
float whiteout_m3_M3Projector_get_falloff(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->falloff;
}
void whiteout_m3_M3Projector_set_falloff(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->falloff = value;
}
float whiteout_m3_M3Projector_get_alphaInit(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->alphaInit;
}
void whiteout_m3_M3Projector_set_alphaInit(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->alphaInit = value;
}
float whiteout_m3_M3Projector_get_alphaMid(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->alphaMid;
}
void whiteout_m3_M3Projector_set_alphaMid(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->alphaMid = value;
}
float whiteout_m3_M3Projector_get_alphaEnd(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->alphaEnd;
}
void whiteout_m3_M3Projector_set_alphaEnd(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->alphaEnd = value;
}
float whiteout_m3_M3Projector_get_lifetimeAttack(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeAttack;
}
void whiteout_m3_M3Projector_set_lifetimeAttack(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeAttack = value;
}
float whiteout_m3_M3Projector_get_lifetimeAttackTo(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeAttackTo;
}
void whiteout_m3_M3Projector_set_lifetimeAttackTo(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeAttackTo = value;
}
float whiteout_m3_M3Projector_get_lifetimeHold(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeHold;
}
void whiteout_m3_M3Projector_set_lifetimeHold(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeHold = value;
}
float whiteout_m3_M3Projector_get_lifetimeHoldTo(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeHoldTo;
}
void whiteout_m3_M3Projector_set_lifetimeHoldTo(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeHoldTo = value;
}
float whiteout_m3_M3Projector_get_lifetimeDecay(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeDecay;
}
void whiteout_m3_M3Projector_set_lifetimeDecay(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeDecay = value;
}
float whiteout_m3_M3Projector_get_lifetimeDecayTo(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lifetimeDecayTo;
}
void whiteout_m3_M3Projector_set_lifetimeDecayTo(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lifetimeDecayTo = value;
}
float whiteout_m3_M3Projector_get_attenuationDistance(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->attenuationDistance;
}
void whiteout_m3_M3Projector_set_attenuationDistance(whiteout_M3Projector* self, float value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->attenuationDistance = value;
}
whiteout_M3AnimRefU32* whiteout_m3_M3Projector_get_active(whiteout_M3Projector* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::Projector*>(self)->active);
}
void whiteout_m3_M3Projector_set_active(whiteout_M3Projector* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->active = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
uint32_t whiteout_m3_M3Projector_get_layer(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->layer;
}
void whiteout_m3_M3Projector_set_layer(whiteout_M3Projector* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->layer = value;
}
uint32_t whiteout_m3_M3Projector_get_lodReduce(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lodReduce;
}
void whiteout_m3_M3Projector_set_lodReduce(whiteout_M3Projector* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lodReduce = value;
}
uint32_t whiteout_m3_M3Projector_get_lodCut(const whiteout_M3Projector* self) {
return reinterpret_cast<const whiteout::m3::Projector*>(self)->lodCut;
}
void whiteout_m3_M3Projector_set_lodCut(whiteout_M3Projector* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->lodCut = value;
}
int32_t whiteout_m3_M3Projector_get_flags(const whiteout_M3Projector* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Projector*>(self)->flags);
}
void whiteout_m3_M3Projector_set_flags(whiteout_M3Projector* self, int32_t value) {
reinterpret_cast<whiteout::m3::Projector*>(self)->flags = static_cast<whiteout::m3::ProjectorFlag>(value);
}
}
extern "C" {
whiteout_M3MaterialMap* whiteout_m3_M3MaterialMap_new(void) {
return reinterpret_cast<whiteout_M3MaterialMap*>(new whiteout::m3::MaterialMap());
}
void whiteout_m3_M3MaterialMap_delete(whiteout_M3MaterialMap* self) {
delete reinterpret_cast<whiteout::m3::MaterialMap*>(self);
}
int32_t whiteout_m3_M3MaterialMap_get_materialType(const whiteout_M3MaterialMap* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::MaterialMap*>(self)->materialType);
}
void whiteout_m3_M3MaterialMap_set_materialType(whiteout_M3MaterialMap* self, int32_t value) {
reinterpret_cast<whiteout::m3::MaterialMap*>(self)->materialType = static_cast<whiteout::m3::MaterialType>(value);
}
uint32_t whiteout_m3_M3MaterialMap_get_materialIndex(const whiteout_M3MaterialMap* self) {
return reinterpret_cast<const whiteout::m3::MaterialMap*>(self)->materialIndex;
}
void whiteout_m3_M3MaterialMap_set_materialIndex(whiteout_M3MaterialMap* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialMap*>(self)->materialIndex = value;
}
}
extern "C" {
whiteout_M3TextureLayer* whiteout_m3_M3TextureLayer_new(void) {
return reinterpret_cast<whiteout_M3TextureLayer*>(new whiteout::m3::TextureLayer());
}
void whiteout_m3_M3TextureLayer_delete(whiteout_M3TextureLayer* self) {
delete reinterpret_cast<whiteout::m3::TextureLayer*>(self);
}
uint32_t whiteout_m3_M3TextureLayer_get_id(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->id;
}
void whiteout_m3_M3TextureLayer_set_id(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->id = value;
}
whiteout_CString whiteout_m3_M3TextureLayer_get_texturePath(const whiteout_M3TextureLayer* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->texturePath);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3TextureLayer_set_texturePath(whiteout_M3TextureLayer* self, const char* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->texturePath = (value ? value : "");
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3TextureLayer_get_color(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->color);
}
void whiteout_m3_M3TextureLayer_set_color(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->color = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
int32_t whiteout_m3_M3TextureLayer_get_flags(const whiteout_M3TextureLayer* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->flags);
}
void whiteout_m3_M3TextureLayer_set_flags(whiteout_M3TextureLayer* self, int32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->flags = static_cast<whiteout::m3::TextureLayerFlag>(value);
}
int32_t whiteout_m3_M3TextureLayer_get_uvMapping(const whiteout_M3TextureLayer* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->uvMapping);
}
void whiteout_m3_M3TextureLayer_set_uvMapping(whiteout_M3TextureLayer* self, int32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvMapping = static_cast<whiteout::m3::UVMappingMode>(value);
}
int32_t whiteout_m3_M3TextureLayer_get_colorType(const whiteout_M3TextureLayer* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->colorType);
}
void whiteout_m3_M3TextureLayer_set_colorType(whiteout_M3TextureLayer* self, int32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->colorType = static_cast<whiteout::m3::ColorChannelSelect>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TextureLayer_get_rgbMultiply(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->rgbMultiply);
}
void whiteout_m3_M3TextureLayer_set_rgbMultiply(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->rgbMultiply = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TextureLayer_get_rgbAdd(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->rgbAdd);
}
void whiteout_m3_M3TextureLayer_set_rgbAdd(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->rgbAdd = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3TextureLayer_get_pocTexture(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->pocTexture;
}
void whiteout_m3_M3TextureLayer_set_pocTexture(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->pocTexture = value;
}
float whiteout_m3_M3TextureLayer_get_noiseAmplitude(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->noiseAmplitude;
}
void whiteout_m3_M3TextureLayer_set_noiseAmplitude(whiteout_M3TextureLayer* self, float value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->noiseAmplitude = value;
}
float whiteout_m3_M3TextureLayer_get_noiseFrequency(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->noiseFrequency;
}
void whiteout_m3_M3TextureLayer_set_noiseFrequency(whiteout_M3TextureLayer* self, float value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->noiseFrequency = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_textureSource(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->textureSource;
}
void whiteout_m3_M3TextureLayer_set_textureSource(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->textureSource = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_aviFrameRate(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->aviFrameRate;
}
void whiteout_m3_M3TextureLayer_set_aviFrameRate(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviFrameRate = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_aviStart(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->aviStart;
}
void whiteout_m3_M3TextureLayer_set_aviStart(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviStart = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_aviStop(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->aviStop;
}
void whiteout_m3_M3TextureLayer_set_aviStop(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviStop = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_aviLoop(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->aviLoop;
}
void whiteout_m3_M3TextureLayer_set_aviLoop(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviLoop = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_aviSync(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->aviSync;
}
void whiteout_m3_M3TextureLayer_set_aviSync(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviSync = value;
}
whiteout_M3AnimRefU32* whiteout_m3_M3TextureLayer_get_aviPlay(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviPlay);
}
void whiteout_m3_M3TextureLayer_set_aviPlay(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviPlay = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
whiteout_M3AnimRefU32* whiteout_m3_M3TextureLayer_get_aviRestart(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviRestart);
}
void whiteout_m3_M3TextureLayer_set_aviRestart(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->aviRestart = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
uint32_t whiteout_m3_M3TextureLayer_get_flipbookRows(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->flipbookRows;
}
void whiteout_m3_M3TextureLayer_set_flipbookRows(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->flipbookRows = value;
}
uint32_t whiteout_m3_M3TextureLayer_get_flipbookColumns(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->flipbookColumns;
}
void whiteout_m3_M3TextureLayer_set_flipbookColumns(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->flipbookColumns = value;
}
whiteout_M3AnimRefU16* whiteout_m3_M3TextureLayer_get_currentFrame(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefU16*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->currentFrame);
}
void whiteout_m3_M3TextureLayer_set_currentFrame(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefU16* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->currentFrame = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(value);
}
whiteout_M3AnimRefVector2f* whiteout_m3_M3TextureLayer_get_uvOffset(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefVector2f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvOffset);
}
void whiteout_m3_M3TextureLayer_set_uvOffset(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefVector2f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvOffset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3TextureLayer_get_uvAngle(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvAngle);
}
void whiteout_m3_M3TextureLayer_set_uvAngle(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvAngle = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector2f* whiteout_m3_M3TextureLayer_get_uvTiling(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefVector2f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvTiling);
}
void whiteout_m3_M3TextureLayer_set_uvTiling(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefVector2f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvTiling = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TextureLayer_get_wOffset(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->wOffset);
}
void whiteout_m3_M3TextureLayer_set_wOffset(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->wOffset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TextureLayer_get_wTiling(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->wTiling);
}
void whiteout_m3_M3TextureLayer_set_wTiling(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->wTiling = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TextureLayer_get_mapAlpha(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->mapAlpha);
}
void whiteout_m3_M3TextureLayer_set_mapAlpha(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->mapAlpha = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3TextureLayer_get_triplanarOffset(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->triplanarOffset);
}
void whiteout_m3_M3TextureLayer_set_triplanarOffset(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->triplanarOffset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3TextureLayer_get_triplanarScale(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->triplanarScale);
}
void whiteout_m3_M3TextureLayer_set_triplanarScale(whiteout_M3TextureLayer* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->triplanarScale = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
uint32_t whiteout_m3_M3TextureLayer_get_uvSourceRelated(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->uvSourceRelated;
}
void whiteout_m3_M3TextureLayer_set_uvSourceRelated(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvSourceRelated = value;
}
int32_t whiteout_m3_M3TextureLayer_get_fresnelMode(const whiteout_M3TextureLayer* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->fresnelMode);
}
void whiteout_m3_M3TextureLayer_set_fresnelMode(whiteout_M3TextureLayer* self, int32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelMode = static_cast<whiteout::m3::FresnelMode>(value);
}
float whiteout_m3_M3TextureLayer_get_fresnelExponent(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->fresnelExponent;
}
void whiteout_m3_M3TextureLayer_set_fresnelExponent(whiteout_M3TextureLayer* self, float value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelExponent = value;
}
float whiteout_m3_M3TextureLayer_get_fresnelMin(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->fresnelMin;
}
void whiteout_m3_M3TextureLayer_set_fresnelMin(whiteout_M3TextureLayer* self, float value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelMin = value;
}
float whiteout_m3_M3TextureLayer_get_fresnelMax(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->fresnelMax;
}
void whiteout_m3_M3TextureLayer_set_fresnelMax(whiteout_M3TextureLayer* self, float value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelMax = value;
}
whiteout_Vector3f* whiteout_m3_M3TextureLayer_get_fresnelTranslation(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelTranslation);
}
void whiteout_m3_M3TextureLayer_set_fresnelTranslation(whiteout_M3TextureLayer* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelTranslation = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3TextureLayer_get_fresnelMask(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelMask);
}
void whiteout_m3_M3TextureLayer_set_fresnelMask(whiteout_M3TextureLayer* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelMask = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector2f* whiteout_m3_M3TextureLayer_get_fresnelRotation(whiteout_M3TextureLayer* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelRotation);
}
void whiteout_m3_M3TextureLayer_set_fresnelRotation(whiteout_M3TextureLayer* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->fresnelRotation = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
uint32_t whiteout_m3_M3TextureLayer_get_uvDensity(const whiteout_M3TextureLayer* self) {
return reinterpret_cast<const whiteout::m3::TextureLayer*>(self)->uvDensity;
}
void whiteout_m3_M3TextureLayer_set_uvDensity(whiteout_M3TextureLayer* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TextureLayer*>(self)->uvDensity = value;
}
}
extern "C" {
whiteout_M3StandardMaterial* whiteout_m3_M3StandardMaterial_new(void) {
return reinterpret_cast<whiteout_M3StandardMaterial*>(new whiteout::m3::StandardMaterial());
}
void whiteout_m3_M3StandardMaterial_delete(whiteout_M3StandardMaterial* self) {
delete reinterpret_cast<whiteout::m3::StandardMaterial*>(self);
}
whiteout_CString whiteout_m3_M3StandardMaterial_get_name(const whiteout_M3StandardMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3StandardMaterial_set_name(whiteout_M3StandardMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->name = (value ? value : "");
}
int32_t whiteout_m3_M3StandardMaterial_get_additionalFlags(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->additionalFlags);
}
void whiteout_m3_M3StandardMaterial_set_additionalFlags(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->additionalFlags = static_cast<whiteout::m3::MaterialAdditionalFlag>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_flags(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->flags);
}
void whiteout_m3_M3StandardMaterial_set_flags(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->flags = static_cast<whiteout::m3::MaterialFlag>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_blendMode(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->blendMode);
}
void whiteout_m3_M3StandardMaterial_set_blendMode(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->blendMode = static_cast<whiteout::m3::BlendMode>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_priority(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->priority;
}
void whiteout_m3_M3StandardMaterial_set_priority(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->priority = value;
}
uint32_t whiteout_m3_M3StandardMaterial_get_rttChannels(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->rttChannels;
}
void whiteout_m3_M3StandardMaterial_set_rttChannels(whiteout_M3StandardMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->rttChannels = value;
}
float whiteout_m3_M3StandardMaterial_get_specularExponent(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->specularExponent;
}
void whiteout_m3_M3StandardMaterial_set_specularExponent(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->specularExponent = value;
}
float whiteout_m3_M3StandardMaterial_get_depthBlendFalloff(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->depthBlendFalloff;
}
void whiteout_m3_M3StandardMaterial_set_depthBlendFalloff(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->depthBlendFalloff = value;
}
uint32_t whiteout_m3_M3StandardMaterial_get_alphaTestThreshold(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->alphaTestThreshold;
}
void whiteout_m3_M3StandardMaterial_set_alphaTestThreshold(whiteout_M3StandardMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->alphaTestThreshold = value;
}
float whiteout_m3_M3StandardMaterial_get_hdrSpecularMultiplier(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->hdrSpecularMultiplier;
}
void whiteout_m3_M3StandardMaterial_set_hdrSpecularMultiplier(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->hdrSpecularMultiplier = value;
}
float whiteout_m3_M3StandardMaterial_get_hdrEmissiveMultiplier(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->hdrEmissiveMultiplier;
}
void whiteout_m3_M3StandardMaterial_set_hdrEmissiveMultiplier(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->hdrEmissiveMultiplier = value;
}
float whiteout_m3_M3StandardMaterial_get_hdrEnvironmentConstant(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentConstant;
}
void whiteout_m3_M3StandardMaterial_set_hdrEnvironmentConstant(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentConstant = value;
}
float whiteout_m3_M3StandardMaterial_get_hdrEnvironmentDiffuse(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentDiffuse;
}
void whiteout_m3_M3StandardMaterial_set_hdrEnvironmentDiffuse(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentDiffuse = value;
}
float whiteout_m3_M3StandardMaterial_get_hdrEnvironmentSpecular(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentSpecular;
}
void whiteout_m3_M3StandardMaterial_set_hdrEnvironmentSpecular(whiteout_M3StandardMaterial* self, float value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->hdrEnvironmentSpecular = value;
}
int32_t whiteout_m3_M3StandardMaterial_get_materialClass(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->materialClass);
}
void whiteout_m3_M3StandardMaterial_set_materialClass(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->materialClass = static_cast<whiteout::m3::MaterialClass>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_layerBlendMode(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->layerBlendMode);
}
void whiteout_m3_M3StandardMaterial_set_layerBlendMode(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->layerBlendMode = static_cast<whiteout::m3::LayerBlendOp>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_emissiveBlendMode1(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->emissiveBlendMode1);
}
void whiteout_m3_M3StandardMaterial_set_emissiveBlendMode1(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->emissiveBlendMode1 = static_cast<whiteout::m3::LayerBlendOp>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_emissiveBlendMode2(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->emissiveBlendMode2);
}
void whiteout_m3_M3StandardMaterial_set_emissiveBlendMode2(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->emissiveBlendMode2 = static_cast<whiteout::m3::LayerBlendOp>(value);
}
int32_t whiteout_m3_M3StandardMaterial_get_specularMode(const whiteout_M3StandardMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->specularMode);
}
void whiteout_m3_M3StandardMaterial_set_specularMode(whiteout_M3StandardMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->specularMode = static_cast<whiteout::m3::SpecularMode>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3StandardMaterial_get_parallaxHeight(whiteout_M3StandardMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->parallaxHeight);
}
void whiteout_m3_M3StandardMaterial_set_parallaxHeight(whiteout_M3StandardMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->parallaxHeight = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3StandardMaterial_get_motionBlurAmount(whiteout_M3StandardMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->motionBlurAmount);
}
void whiteout_m3_M3StandardMaterial_set_motionBlurAmount(whiteout_M3StandardMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->motionBlurAmount = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
size_t whiteout_m3_M3StandardMaterial_get_normalBlendFactors_count(const whiteout_M3StandardMaterial* self) {
return reinterpret_cast<const whiteout::m3::StandardMaterial*>(self)->normalBlendFactors.size();
}
void whiteout_m3_M3StandardMaterial_resize_normalBlendFactors(whiteout_M3StandardMaterial* self, size_t count) {
reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->normalBlendFactors.resize(count);
}
whiteout_M3AnimRefF32* whiteout_m3_M3StandardMaterial_get_normalBlendFactors_at(whiteout_M3StandardMaterial* self, size_t index) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::StandardMaterial*>(self)->normalBlendFactors[index]);
}
}
extern "C" {
whiteout_M3DisplacementMaterial* whiteout_m3_M3DisplacementMaterial_new(void) {
return reinterpret_cast<whiteout_M3DisplacementMaterial*>(new whiteout::m3::DisplacementMaterial());
}
void whiteout_m3_M3DisplacementMaterial_delete(whiteout_M3DisplacementMaterial* self) {
delete reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self);
}
whiteout_CString whiteout_m3_M3DisplacementMaterial_get_name(const whiteout_M3DisplacementMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::DisplacementMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3DisplacementMaterial_set_name(whiteout_M3DisplacementMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3DisplacementMaterial_get_unknown(const whiteout_M3DisplacementMaterial* self) {
return reinterpret_cast<const whiteout::m3::DisplacementMaterial*>(self)->unknown;
}
void whiteout_m3_M3DisplacementMaterial_set_unknown(whiteout_M3DisplacementMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self)->unknown = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3DisplacementMaterial_get_strength(whiteout_M3DisplacementMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self)->strength);
}
void whiteout_m3_M3DisplacementMaterial_set_strength(whiteout_M3DisplacementMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self)->strength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3DisplacementMaterial_get_priority(const whiteout_M3DisplacementMaterial* self) {
return reinterpret_cast<const whiteout::m3::DisplacementMaterial*>(self)->priority;
}
void whiteout_m3_M3DisplacementMaterial_set_priority(whiteout_M3DisplacementMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::DisplacementMaterial*>(self)->priority = value;
}
}
extern "C" {
whiteout_M3CompositeSection* whiteout_m3_M3CompositeSection_new(void) {
return reinterpret_cast<whiteout_M3CompositeSection*>(new whiteout::m3::CompositeSection());
}
void whiteout_m3_M3CompositeSection_delete(whiteout_M3CompositeSection* self) {
delete reinterpret_cast<whiteout::m3::CompositeSection*>(self);
}
uint32_t whiteout_m3_M3CompositeSection_get_materialIndex(const whiteout_M3CompositeSection* self) {
return reinterpret_cast<const whiteout::m3::CompositeSection*>(self)->materialIndex;
}
void whiteout_m3_M3CompositeSection_set_materialIndex(whiteout_M3CompositeSection* self, uint32_t value) {
reinterpret_cast<whiteout::m3::CompositeSection*>(self)->materialIndex = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3CompositeSection_get_mapMultiplier(whiteout_M3CompositeSection* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::CompositeSection*>(self)->mapMultiplier);
}
void whiteout_m3_M3CompositeSection_set_mapMultiplier(whiteout_M3CompositeSection* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::CompositeSection*>(self)->mapMultiplier = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3CompositeMaterial* whiteout_m3_M3CompositeMaterial_new(void) {
return reinterpret_cast<whiteout_M3CompositeMaterial*>(new whiteout::m3::CompositeMaterial());
}
void whiteout_m3_M3CompositeMaterial_delete(whiteout_M3CompositeMaterial* self) {
delete reinterpret_cast<whiteout::m3::CompositeMaterial*>(self);
}
whiteout_CString whiteout_m3_M3CompositeMaterial_get_name(const whiteout_M3CompositeMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::CompositeMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3CompositeMaterial_set_name(whiteout_M3CompositeMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::CompositeMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3CompositeMaterial_get_priority(const whiteout_M3CompositeMaterial* self) {
return reinterpret_cast<const whiteout::m3::CompositeMaterial*>(self)->priority;
}
void whiteout_m3_M3CompositeMaterial_set_priority(whiteout_M3CompositeMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::CompositeMaterial*>(self)->priority = value;
}
size_t whiteout_m3_M3CompositeMaterial_get_sections_count(const whiteout_M3CompositeMaterial* self) {
return reinterpret_cast<const whiteout::m3::CompositeMaterial*>(self)->sections.size();
}
void whiteout_m3_M3CompositeMaterial_resize_sections(whiteout_M3CompositeMaterial* self, size_t count) {
reinterpret_cast<whiteout::m3::CompositeMaterial*>(self)->sections.resize(count);
}
whiteout_M3CompositeSection* whiteout_m3_M3CompositeMaterial_get_sections_at(whiteout_M3CompositeMaterial* self, size_t index) {
return reinterpret_cast<whiteout_M3CompositeSection*>(&reinterpret_cast<whiteout::m3::CompositeMaterial*>(self)->sections[index]);
}
}
extern "C" {
whiteout_M3TerrainMaterial* whiteout_m3_M3TerrainMaterial_new(void) {
return reinterpret_cast<whiteout_M3TerrainMaterial*>(new whiteout::m3::TerrainMaterial());
}
void whiteout_m3_M3TerrainMaterial_delete(whiteout_M3TerrainMaterial* self) {
delete reinterpret_cast<whiteout::m3::TerrainMaterial*>(self);
}
whiteout_CString whiteout_m3_M3TerrainMaterial_get_name(const whiteout_M3TerrainMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::TerrainMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3TerrainMaterial_set_name(whiteout_M3TerrainMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::TerrainMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3TerrainMaterial_get_unknown(const whiteout_M3TerrainMaterial* self) {
return reinterpret_cast<const whiteout::m3::TerrainMaterial*>(self)->unknown;
}
void whiteout_m3_M3TerrainMaterial_set_unknown(whiteout_M3TerrainMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TerrainMaterial*>(self)->unknown = value;
}
}
extern "C" {
whiteout_M3VolumeMaterial* whiteout_m3_M3VolumeMaterial_new(void) {
return reinterpret_cast<whiteout_M3VolumeMaterial*>(new whiteout::m3::VolumeMaterial());
}
void whiteout_m3_M3VolumeMaterial_delete(whiteout_M3VolumeMaterial* self) {
delete reinterpret_cast<whiteout::m3::VolumeMaterial*>(self);
}
whiteout_CString whiteout_m3_M3VolumeMaterial_get_name(const whiteout_M3VolumeMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::VolumeMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3VolumeMaterial_set_name(whiteout_M3VolumeMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3VolumeMaterial_get_blendMode(const whiteout_M3VolumeMaterial* self) {
return reinterpret_cast<const whiteout::m3::VolumeMaterial*>(self)->blendMode;
}
void whiteout_m3_M3VolumeMaterial_set_blendMode(whiteout_M3VolumeMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->blendMode = value;
}
int32_t whiteout_m3_M3VolumeMaterial_get_falloffType(const whiteout_M3VolumeMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::VolumeMaterial*>(self)->falloffType);
}
void whiteout_m3_M3VolumeMaterial_set_falloffType(whiteout_M3VolumeMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->falloffType = static_cast<whiteout::m3::VolumeFalloffType>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3VolumeMaterial_get_density(whiteout_M3VolumeMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->density);
}
void whiteout_m3_M3VolumeMaterial_set_density(whiteout_M3VolumeMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->density = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3VolumeMaterial_get_alphaThreshold(const whiteout_M3VolumeMaterial* self) {
return reinterpret_cast<const whiteout::m3::VolumeMaterial*>(self)->alphaThreshold;
}
void whiteout_m3_M3VolumeMaterial_set_alphaThreshold(whiteout_M3VolumeMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::VolumeMaterial*>(self)->alphaThreshold = value;
}
}
extern "C" {
whiteout_M3HairMaterial* whiteout_m3_M3HairMaterial_new(void) {
return reinterpret_cast<whiteout_M3HairMaterial*>(new whiteout::m3::HairMaterial());
}
void whiteout_m3_M3HairMaterial_delete(whiteout_M3HairMaterial* self) {
delete reinterpret_cast<whiteout::m3::HairMaterial*>(self);
}
whiteout_CString whiteout_m3_M3HairMaterial_get_name(const whiteout_M3HairMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::HairMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3HairMaterial_set_name(whiteout_M3HairMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->name = (value ? value : "");
}
float whiteout_m3_M3HairMaterial_get_shiftPrimary(const whiteout_M3HairMaterial* self) {
return reinterpret_cast<const whiteout::m3::HairMaterial*>(self)->shiftPrimary;
}
void whiteout_m3_M3HairMaterial_set_shiftPrimary(whiteout_M3HairMaterial* self, float value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->shiftPrimary = value;
}
float whiteout_m3_M3HairMaterial_get_shiftSecondary(const whiteout_M3HairMaterial* self) {
return reinterpret_cast<const whiteout::m3::HairMaterial*>(self)->shiftSecondary;
}
void whiteout_m3_M3HairMaterial_set_shiftSecondary(whiteout_M3HairMaterial* self, float value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->shiftSecondary = value;
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3HairMaterial_get_colorDiffuse(whiteout_M3HairMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::HairMaterial*>(self)->colorDiffuse);
}
void whiteout_m3_M3HairMaterial_set_colorDiffuse(whiteout_M3HairMaterial* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->colorDiffuse = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3HairMaterial_get_colorSpec(whiteout_M3HairMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::HairMaterial*>(self)->colorSpec);
}
void whiteout_m3_M3HairMaterial_set_colorSpec(whiteout_M3HairMaterial* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->colorSpec = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
float whiteout_m3_M3HairMaterial_get_specExponent0(const whiteout_M3HairMaterial* self) {
return reinterpret_cast<const whiteout::m3::HairMaterial*>(self)->specExponent0;
}
void whiteout_m3_M3HairMaterial_set_specExponent0(whiteout_M3HairMaterial* self, float value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->specExponent0 = value;
}
float whiteout_m3_M3HairMaterial_get_specExponent1(const whiteout_M3HairMaterial* self) {
return reinterpret_cast<const whiteout::m3::HairMaterial*>(self)->specExponent1;
}
void whiteout_m3_M3HairMaterial_set_specExponent1(whiteout_M3HairMaterial* self, float value) {
reinterpret_cast<whiteout::m3::HairMaterial*>(self)->specExponent1 = value;
}
}
extern "C" {
whiteout_M3VolumeNoiseMaterial* whiteout_m3_M3VolumeNoiseMaterial_new(void) {
return reinterpret_cast<whiteout_M3VolumeNoiseMaterial*>(new whiteout::m3::VolumeNoiseMaterial());
}
void whiteout_m3_M3VolumeNoiseMaterial_delete(whiteout_M3VolumeNoiseMaterial* self) {
delete reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self);
}
whiteout_CString whiteout_m3_M3VolumeNoiseMaterial_get_name(const whiteout_M3VolumeNoiseMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::VolumeNoiseMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3VolumeNoiseMaterial_set_name(whiteout_M3VolumeNoiseMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->name = (value ? value : "");
}
int32_t whiteout_m3_M3VolumeNoiseMaterial_get_falloffType(const whiteout_M3VolumeNoiseMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::VolumeNoiseMaterial*>(self)->falloffType);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_falloffType(whiteout_M3VolumeNoiseMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->falloffType = static_cast<whiteout::m3::VolumeFalloffType>(value);
}
int32_t whiteout_m3_M3VolumeNoiseMaterial_get_drawTransparency(const whiteout_M3VolumeNoiseMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::VolumeNoiseMaterial*>(self)->drawTransparency);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_drawTransparency(whiteout_M3VolumeNoiseMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->drawTransparency = static_cast<whiteout::m3::VolumeNoiseCameraMode>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3VolumeNoiseMaterial_get_density(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->density);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_density(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->density = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3VolumeNoiseMaterial_get_nearPlane(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->nearPlane);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_nearPlane(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->nearPlane = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3VolumeNoiseMaterial_get_falloff(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->falloff);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_falloff(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->falloff = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3VolumeNoiseMaterial_get_scrollRate(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->scrollRate);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_scrollRate(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->scrollRate = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3VolumeNoiseMaterial_get_position(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->position);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_position(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->position = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3VolumeNoiseMaterial_get_scale(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->scale);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_scale(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->scale = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3VolumeNoiseMaterial_get_rotation(whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->rotation);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_rotation(whiteout_M3VolumeNoiseMaterial* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->rotation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
uint32_t whiteout_m3_M3VolumeNoiseMaterial_get_alphaThreshold(const whiteout_M3VolumeNoiseMaterial* self) {
return reinterpret_cast<const whiteout::m3::VolumeNoiseMaterial*>(self)->alphaThreshold;
}
void whiteout_m3_M3VolumeNoiseMaterial_set_alphaThreshold(whiteout_M3VolumeNoiseMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->alphaThreshold = value;
}
int32_t whiteout_m3_M3VolumeNoiseMaterial_get_flags(const whiteout_M3VolumeNoiseMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::VolumeNoiseMaterial*>(self)->flags);
}
void whiteout_m3_M3VolumeNoiseMaterial_set_flags(whiteout_M3VolumeNoiseMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::VolumeNoiseMaterial*>(self)->flags = static_cast<whiteout::m3::VolumeNoiseMaterialFlag>(value);
}
}
extern "C" {
whiteout_M3CreepMaterial* whiteout_m3_M3CreepMaterial_new(void) {
return reinterpret_cast<whiteout_M3CreepMaterial*>(new whiteout::m3::CreepMaterial());
}
void whiteout_m3_M3CreepMaterial_delete(whiteout_M3CreepMaterial* self) {
delete reinterpret_cast<whiteout::m3::CreepMaterial*>(self);
}
whiteout_CString whiteout_m3_M3CreepMaterial_get_name(const whiteout_M3CreepMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::CreepMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3CreepMaterial_set_name(whiteout_M3CreepMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::CreepMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3CreepMaterial_get_creepLow(const whiteout_M3CreepMaterial* self) {
return reinterpret_cast<const whiteout::m3::CreepMaterial*>(self)->creepLow;
}
void whiteout_m3_M3CreepMaterial_set_creepLow(whiteout_M3CreepMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::CreepMaterial*>(self)->creepLow = value;
}
}
extern "C" {
whiteout_M3STBMaterial* whiteout_m3_M3STBMaterial_new(void) {
return reinterpret_cast<whiteout_M3STBMaterial*>(new whiteout::m3::STBMaterial());
}
void whiteout_m3_M3STBMaterial_delete(whiteout_M3STBMaterial* self) {
delete reinterpret_cast<whiteout::m3::STBMaterial*>(self);
}
whiteout_CString whiteout_m3_M3STBMaterial_get_name(const whiteout_M3STBMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::STBMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3STBMaterial_set_name(whiteout_M3STBMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::STBMaterial*>(self)->name = (value ? value : "");
}
}
extern "C" {
whiteout_M3ReflectionMaterial* whiteout_m3_M3ReflectionMaterial_new(void) {
return reinterpret_cast<whiteout_M3ReflectionMaterial*>(new whiteout::m3::ReflectionMaterial());
}
void whiteout_m3_M3ReflectionMaterial_delete(whiteout_M3ReflectionMaterial* self) {
delete reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self);
}
whiteout_CString whiteout_m3_M3ReflectionMaterial_get_name(const whiteout_M3ReflectionMaterial* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::ReflectionMaterial*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3ReflectionMaterial_set_name(whiteout_M3ReflectionMaterial* self, const char* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3ReflectionMaterial_get_unknown(const whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<const whiteout::m3::ReflectionMaterial*>(self)->unknown;
}
void whiteout_m3_M3ReflectionMaterial_set_unknown(whiteout_M3ReflectionMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->unknown = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3ReflectionMaterial_get_reflectionStrength(whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->reflectionStrength);
}
void whiteout_m3_M3ReflectionMaterial_set_reflectionStrength(whiteout_M3ReflectionMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->reflectionStrength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ReflectionMaterial_get_displacementStrength(whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->displacementStrength);
}
void whiteout_m3_M3ReflectionMaterial_set_displacementStrength(whiteout_M3ReflectionMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->displacementStrength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ReflectionMaterial_get_reflectionOffset(whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->reflectionOffset);
}
void whiteout_m3_M3ReflectionMaterial_set_reflectionOffset(whiteout_M3ReflectionMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->reflectionOffset = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ReflectionMaterial_get_blurAngle(whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->blurAngle);
}
void whiteout_m3_M3ReflectionMaterial_set_blurAngle(whiteout_M3ReflectionMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->blurAngle = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3ReflectionMaterial_get_blurDistanceMax(whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->blurDistanceMax);
}
void whiteout_m3_M3ReflectionMaterial_set_blurDistanceMax(whiteout_M3ReflectionMaterial* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->blurDistanceMax = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
int32_t whiteout_m3_M3ReflectionMaterial_get_flags(const whiteout_M3ReflectionMaterial* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::ReflectionMaterial*>(self)->flags);
}
void whiteout_m3_M3ReflectionMaterial_set_flags(whiteout_M3ReflectionMaterial* self, int32_t value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->flags = static_cast<whiteout::m3::ReflectionMaterialFlag>(value);
}
uint32_t whiteout_m3_M3ReflectionMaterial_get_unknown2(const whiteout_M3ReflectionMaterial* self) {
return reinterpret_cast<const whiteout::m3::ReflectionMaterial*>(self)->unknown2;
}
void whiteout_m3_M3ReflectionMaterial_set_unknown2(whiteout_M3ReflectionMaterial* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ReflectionMaterial*>(self)->unknown2 = value;
}
}
extern "C" {
whiteout_M3SubFlare* whiteout_m3_M3SubFlare_new(void) {
return reinterpret_cast<whiteout_M3SubFlare*>(new whiteout::m3::SubFlare());
}
void whiteout_m3_M3SubFlare_delete(whiteout_M3SubFlare* self) {
delete reinterpret_cast<whiteout::m3::SubFlare*>(self);
}
uint32_t whiteout_m3_M3SubFlare_get_index(const whiteout_M3SubFlare* self) {
return reinterpret_cast<const whiteout::m3::SubFlare*>(self)->index;
}
void whiteout_m3_M3SubFlare_set_index(whiteout_M3SubFlare* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->index = value;
}
float whiteout_m3_M3SubFlare_get_position(const whiteout_M3SubFlare* self) {
return reinterpret_cast<const whiteout::m3::SubFlare*>(self)->position;
}
void whiteout_m3_M3SubFlare_set_position(whiteout_M3SubFlare* self, float value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->position = value;
}
whiteout_Vector2f* whiteout_m3_M3SubFlare_get_sizeXY(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->sizeXY);
}
void whiteout_m3_M3SubFlare_set_sizeXY(whiteout_M3SubFlare* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->sizeXY = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
whiteout_Vector2f* whiteout_m3_M3SubFlare_get_scaleXY(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->scaleXY);
}
void whiteout_m3_M3SubFlare_set_scaleXY(whiteout_M3SubFlare* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->scaleXY = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
whiteout_Vector2f* whiteout_m3_M3SubFlare_get_fadeIn(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->fadeIn);
}
void whiteout_m3_M3SubFlare_set_fadeIn(whiteout_M3SubFlare* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->fadeIn = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
whiteout_Vector2f* whiteout_m3_M3SubFlare_get_fadeOut(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->fadeOut);
}
void whiteout_m3_M3SubFlare_set_fadeOut(whiteout_M3SubFlare* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->fadeOut = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
whiteout_M3ColorBGRA* whiteout_m3_M3SubFlare_get_colorAlpha(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_M3ColorBGRA*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->colorAlpha);
}
void whiteout_m3_M3SubFlare_set_colorAlpha(whiteout_M3SubFlare* self, const whiteout_M3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->colorAlpha = *reinterpret_cast<const whiteout::m3::ColorBGRA*>(value);
}
uint32_t whiteout_m3_M3SubFlare_get_faceCenter(const whiteout_M3SubFlare* self) {
return reinterpret_cast<const whiteout::m3::SubFlare*>(self)->faceCenter;
}
void whiteout_m3_M3SubFlare_set_faceCenter(whiteout_M3SubFlare* self, uint32_t value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->faceCenter = value;
}
whiteout_Vector2f* whiteout_m3_M3SubFlare_get_offset(whiteout_M3SubFlare* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::SubFlare*>(self)->offset);
}
void whiteout_m3_M3SubFlare_set_offset(whiteout_M3SubFlare* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::SubFlare*>(self)->offset = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
}
extern "C" {
whiteout_M3LensFlare* whiteout_m3_M3LensFlare_new(void) {
return reinterpret_cast<whiteout_M3LensFlare*>(new whiteout::m3::LensFlare());
}
void whiteout_m3_M3LensFlare_delete(whiteout_M3LensFlare* self) {
delete reinterpret_cast<whiteout::m3::LensFlare*>(self);
}
whiteout_CString whiteout_m3_M3LensFlare_get_name(const whiteout_M3LensFlare* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::LensFlare*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3LensFlare_set_name(whiteout_M3LensFlare* self, const char* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->name = (value ? value : "");
}
size_t whiteout_m3_M3LensFlare_get_subFlares_count(const whiteout_M3LensFlare* self) {
return reinterpret_cast<const whiteout::m3::LensFlare*>(self)->subFlares.size();
}
void whiteout_m3_M3LensFlare_resize_subFlares(whiteout_M3LensFlare* self, size_t count) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->subFlares.resize(count);
}
whiteout_M3SubFlare* whiteout_m3_M3LensFlare_get_subFlares_at(whiteout_M3LensFlare* self, size_t index) {
return reinterpret_cast<whiteout_M3SubFlare*>(&reinterpret_cast<whiteout::m3::LensFlare*>(self)->subFlares[index]);
}
uint32_t whiteout_m3_M3LensFlare_get_columns(const whiteout_M3LensFlare* self) {
return reinterpret_cast<const whiteout::m3::LensFlare*>(self)->columns;
}
void whiteout_m3_M3LensFlare_set_columns(whiteout_M3LensFlare* self, uint32_t value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->columns = value;
}
uint32_t whiteout_m3_M3LensFlare_get_rows(const whiteout_M3LensFlare* self) {
return reinterpret_cast<const whiteout::m3::LensFlare*>(self)->rows;
}
void whiteout_m3_M3LensFlare_set_rows(whiteout_M3LensFlare* self, uint32_t value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->rows = value;
}
float whiteout_m3_M3LensFlare_get_distanceFade(const whiteout_M3LensFlare* self) {
return reinterpret_cast<const whiteout::m3::LensFlare*>(self)->distanceFade;
}
void whiteout_m3_M3LensFlare_set_distanceFade(whiteout_M3LensFlare* self, float value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->distanceFade = value;
}
whiteout_CString whiteout_m3_M3LensFlare_get_libName(const whiteout_M3LensFlare* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::LensFlare*>(self)->libName);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3LensFlare_set_libName(whiteout_M3LensFlare* self, const char* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->libName = (value ? value : "");
}
whiteout_M3AnimRefF32* whiteout_m3_M3LensFlare_get_intensity(whiteout_M3LensFlare* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::LensFlare*>(self)->intensity);
}
void whiteout_m3_M3LensFlare_set_intensity(whiteout_M3LensFlare* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->intensity = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3LensFlare_get_color(whiteout_M3LensFlare* self) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(&reinterpret_cast<whiteout::m3::LensFlare*>(self)->color);
}
void whiteout_m3_M3LensFlare_set_color(whiteout_M3LensFlare* self, const whiteout_M3AnimRefM3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->color = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3LensFlare_get_hdr(whiteout_M3LensFlare* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::LensFlare*>(self)->hdr);
}
void whiteout_m3_M3LensFlare_set_hdr(whiteout_M3LensFlare* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->hdr = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3LensFlare_get_size(whiteout_M3LensFlare* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::LensFlare*>(self)->size);
}
void whiteout_m3_M3LensFlare_set_size(whiteout_M3LensFlare* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::LensFlare*>(self)->size = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3MaterialAddData* whiteout_m3_M3MaterialAddData_new(void) {
return reinterpret_cast<whiteout_M3MaterialAddData*>(new whiteout::m3::MaterialAddData());
}
void whiteout_m3_M3MaterialAddData_delete(whiteout_M3MaterialAddData* self) {
delete reinterpret_cast<whiteout::m3::MaterialAddData*>(self);
}
whiteout_CString whiteout_m3_M3MaterialAddData_get_keyName(const whiteout_M3MaterialAddData* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->keyName);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3MaterialAddData_set_keyName(whiteout_M3MaterialAddData* self, const char* value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->keyName = (value ? value : "");
}
size_t whiteout_m3_M3MaterialAddData_get_keyHash_count(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->keyHash.size();
}
void whiteout_m3_M3MaterialAddData_resize_keyHash(whiteout_M3MaterialAddData* self, size_t count) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->keyHash.resize(count);
}
const uint32_t* whiteout_m3_M3MaterialAddData_get_keyHash_data(const whiteout_M3MaterialAddData* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->keyHash;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3MaterialAddData_assign_keyHash(whiteout_M3MaterialAddData* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->keyHash;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
size_t whiteout_m3_M3MaterialAddData_get_extraHash_count(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->extraHash.size();
}
void whiteout_m3_M3MaterialAddData_resize_extraHash(whiteout_M3MaterialAddData* self, size_t count) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->extraHash.resize(count);
}
const uint32_t* whiteout_m3_M3MaterialAddData_get_extraHash_data(const whiteout_M3MaterialAddData* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->extraHash;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3MaterialAddData_assign_extraHash(whiteout_M3MaterialAddData* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->extraHash;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
whiteout_CString whiteout_m3_M3MaterialAddData_get_valuePath(const whiteout_M3MaterialAddData* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->valuePath);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3MaterialAddData_set_valuePath(whiteout_M3MaterialAddData* self, const char* value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->valuePath = (value ? value : "");
}
float whiteout_m3_M3MaterialAddData_get_frequency(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->frequency;
}
void whiteout_m3_M3MaterialAddData_set_frequency(whiteout_M3MaterialAddData* self, float value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->frequency = value;
}
float whiteout_m3_M3MaterialAddData_get_intensity(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->intensity;
}
void whiteout_m3_M3MaterialAddData_set_intensity(whiteout_M3MaterialAddData* self, float value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->intensity = value;
}
float whiteout_m3_M3MaterialAddData_get_holdTime(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->holdTime;
}
void whiteout_m3_M3MaterialAddData_set_holdTime(whiteout_M3MaterialAddData* self, float value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->holdTime = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_randomHash(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->randomHash;
}
void whiteout_m3_M3MaterialAddData_set_randomHash(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->randomHash = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_animationType(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->animationType;
}
void whiteout_m3_M3MaterialAddData_set_animationType(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->animationType = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_padding0(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->padding0;
}
void whiteout_m3_M3MaterialAddData_set_padding0(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->padding0 = value;
}
int32_t whiteout_m3_M3MaterialAddData_get_loopCount(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->loopCount;
}
void whiteout_m3_M3MaterialAddData_set_loopCount(whiteout_M3MaterialAddData* self, int32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->loopCount = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_flags(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->flags;
}
void whiteout_m3_M3MaterialAddData_set_flags(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->flags = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_subType(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->subType;
}
void whiteout_m3_M3MaterialAddData_set_subType(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->subType = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_configA(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->configA;
}
void whiteout_m3_M3MaterialAddData_set_configA(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->configA = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_configB(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->configB;
}
void whiteout_m3_M3MaterialAddData_set_configB(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->configB = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_extraId0(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->extraId0;
}
void whiteout_m3_M3MaterialAddData_set_extraId0(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->extraId0 = value;
}
uint32_t whiteout_m3_M3MaterialAddData_get_extraId1(const whiteout_M3MaterialAddData* self) {
return reinterpret_cast<const whiteout::m3::MaterialAddData*>(self)->extraId1;
}
void whiteout_m3_M3MaterialAddData_set_extraId1(whiteout_M3MaterialAddData* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MaterialAddData*>(self)->extraId1 = value;
}
}
extern "C" {
whiteout_M3Bone* whiteout_m3_M3Bone_new(void) {
return reinterpret_cast<whiteout_M3Bone*>(new whiteout::m3::Bone());
}
void whiteout_m3_M3Bone_delete(whiteout_M3Bone* self) {
delete reinterpret_cast<whiteout::m3::Bone*>(self);
}
uint32_t whiteout_m3_M3Bone_get_unknown(const whiteout_M3Bone* self) {
return reinterpret_cast<const whiteout::m3::Bone*>(self)->unknown;
}
void whiteout_m3_M3Bone_set_unknown(whiteout_M3Bone* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->unknown = value;
}
whiteout_CString whiteout_m3_M3Bone_get_name(const whiteout_M3Bone* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Bone*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Bone_set_name(whiteout_M3Bone* self, const char* value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->name = (value ? value : "");
}
int32_t whiteout_m3_M3Bone_get_flags(const whiteout_M3Bone* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Bone*>(self)->flags);
}
void whiteout_m3_M3Bone_set_flags(whiteout_M3Bone* self, int32_t value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->flags = static_cast<whiteout::m3::BoneFlag>(value);
}
uint16_t whiteout_m3_M3Bone_get_parentIndex(const whiteout_M3Bone* self) {
return reinterpret_cast<const whiteout::m3::Bone*>(self)->parentIndex;
}
void whiteout_m3_M3Bone_set_parentIndex(whiteout_M3Bone* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->parentIndex = value;
}
uint16_t whiteout_m3_M3Bone_get_padding(const whiteout_M3Bone* self) {
return reinterpret_cast<const whiteout::m3::Bone*>(self)->padding;
}
void whiteout_m3_M3Bone_set_padding(whiteout_M3Bone* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->padding = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3Bone_get_position(whiteout_M3Bone* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::Bone*>(self)->position);
}
void whiteout_m3_M3Bone_set_position(whiteout_M3Bone* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->position = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefQuaternion* whiteout_m3_M3Bone_get_rotation(whiteout_M3Bone* self) {
return reinterpret_cast<whiteout_M3AnimRefQuaternion*>(&reinterpret_cast<whiteout::m3::Bone*>(self)->rotation);
}
void whiteout_m3_M3Bone_set_rotation(whiteout_M3Bone* self, const whiteout_M3AnimRefQuaternion* value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->rotation = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Quaternion>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3Bone_get_scale(whiteout_M3Bone* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::Bone*>(self)->scale);
}
void whiteout_m3_M3Bone_set_scale(whiteout_M3Bone* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->scale = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefU32* whiteout_m3_M3Bone_get_visibility(whiteout_M3Bone* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::Bone*>(self)->visibility);
}
void whiteout_m3_M3Bone_set_visibility(whiteout_M3Bone* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::Bone*>(self)->visibility = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
}
extern "C" {
whiteout_M3Region* whiteout_m3_M3Region_new(void) {
return reinterpret_cast<whiteout_M3Region*>(new whiteout::m3::Region());
}
void whiteout_m3_M3Region_delete(whiteout_M3Region* self) {
delete reinterpret_cast<whiteout::m3::Region*>(self);
}
uint32_t whiteout_m3_M3Region_get_index(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->index;
}
void whiteout_m3_M3Region_set_index(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->index = value;
}
uint32_t whiteout_m3_M3Region_get_unknown(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->unknown;
}
void whiteout_m3_M3Region_set_unknown(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->unknown = value;
}
uint32_t whiteout_m3_M3Region_get_firstVertex(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->firstVertex;
}
void whiteout_m3_M3Region_set_firstVertex(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->firstVertex = value;
}
uint32_t whiteout_m3_M3Region_get_vertexCount(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->vertexCount;
}
void whiteout_m3_M3Region_set_vertexCount(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->vertexCount = value;
}
uint32_t whiteout_m3_M3Region_get_firstIndex(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->firstIndex;
}
void whiteout_m3_M3Region_set_firstIndex(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->firstIndex = value;
}
uint32_t whiteout_m3_M3Region_get_indexCount(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->indexCount;
}
void whiteout_m3_M3Region_set_indexCount(whiteout_M3Region* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->indexCount = value;
}
uint16_t whiteout_m3_M3Region_get_unknown2(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->unknown2;
}
void whiteout_m3_M3Region_set_unknown2(whiteout_M3Region* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->unknown2 = value;
}
uint16_t whiteout_m3_M3Region_get_firstBoneLookup(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->firstBoneLookup;
}
void whiteout_m3_M3Region_set_firstBoneLookup(whiteout_M3Region* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->firstBoneLookup = value;
}
uint16_t whiteout_m3_M3Region_get_boneLookupCount(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->boneLookupCount;
}
void whiteout_m3_M3Region_set_boneLookupCount(whiteout_M3Region* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->boneLookupCount = value;
}
uint16_t whiteout_m3_M3Region_get_padding(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->padding;
}
void whiteout_m3_M3Region_set_padding(whiteout_M3Region* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->padding = value;
}
uint8_t whiteout_m3_M3Region_get_boneWeightPairs(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->boneWeightPairs;
}
void whiteout_m3_M3Region_set_boneWeightPairs(whiteout_M3Region* self, uint8_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->boneWeightPairs = value;
}
uint8_t whiteout_m3_M3Region_get_boneIndexPairs(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->boneIndexPairs;
}
void whiteout_m3_M3Region_set_boneIndexPairs(whiteout_M3Region* self, uint8_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->boneIndexPairs = value;
}
uint16_t whiteout_m3_M3Region_get_rootBone(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->rootBone;
}
void whiteout_m3_M3Region_set_rootBone(whiteout_M3Region* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->rootBone = value;
}
int32_t whiteout_m3_M3Region_get_flags(const whiteout_M3Region* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Region*>(self)->flags);
}
void whiteout_m3_M3Region_set_flags(whiteout_M3Region* self, int32_t value) {
reinterpret_cast<whiteout::m3::Region*>(self)->flags = static_cast<whiteout::m3::RegionFlag>(value);
}
float whiteout_m3_M3Region_get_uvScale(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->uvScale;
}
void whiteout_m3_M3Region_set_uvScale(whiteout_M3Region* self, float value) {
reinterpret_cast<whiteout::m3::Region*>(self)->uvScale = value;
}
float whiteout_m3_M3Region_get_uvOffset(const whiteout_M3Region* self) {
return reinterpret_cast<const whiteout::m3::Region*>(self)->uvOffset;
}
void whiteout_m3_M3Region_set_uvOffset(whiteout_M3Region* self, float value) {
reinterpret_cast<whiteout::m3::Region*>(self)->uvOffset = value;
}
}
extern "C" {
whiteout_M3Batch* whiteout_m3_M3Batch_new(void) {
return reinterpret_cast<whiteout_M3Batch*>(new whiteout::m3::Batch());
}
void whiteout_m3_M3Batch_delete(whiteout_M3Batch* self) {
delete reinterpret_cast<whiteout::m3::Batch*>(self);
}
uint32_t whiteout_m3_M3Batch_get_unknown(const whiteout_M3Batch* self) {
return reinterpret_cast<const whiteout::m3::Batch*>(self)->unknown;
}
void whiteout_m3_M3Batch_set_unknown(whiteout_M3Batch* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Batch*>(self)->unknown = value;
}
uint16_t whiteout_m3_M3Batch_get_regionIndex(const whiteout_M3Batch* self) {
return reinterpret_cast<const whiteout::m3::Batch*>(self)->regionIndex;
}
void whiteout_m3_M3Batch_set_regionIndex(whiteout_M3Batch* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Batch*>(self)->regionIndex = value;
}
uint32_t whiteout_m3_M3Batch_get_unknown2(const whiteout_M3Batch* self) {
return reinterpret_cast<const whiteout::m3::Batch*>(self)->unknown2;
}
void whiteout_m3_M3Batch_set_unknown2(whiteout_M3Batch* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Batch*>(self)->unknown2 = value;
}
uint16_t whiteout_m3_M3Batch_get_materialIndex(const whiteout_M3Batch* self) {
return reinterpret_cast<const whiteout::m3::Batch*>(self)->materialIndex;
}
void whiteout_m3_M3Batch_set_materialIndex(whiteout_M3Batch* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Batch*>(self)->materialIndex = value;
}
uint16_t whiteout_m3_M3Batch_get_boneCount(const whiteout_M3Batch* self) {
return reinterpret_cast<const whiteout::m3::Batch*>(self)->boneCount;
}
void whiteout_m3_M3Batch_set_boneCount(whiteout_M3Batch* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Batch*>(self)->boneCount = value;
}
}
extern "C" {
whiteout_M3MeshSection* whiteout_m3_M3MeshSection_new(void) {
return reinterpret_cast<whiteout_M3MeshSection*>(new whiteout::m3::MeshSection());
}
void whiteout_m3_M3MeshSection_delete(whiteout_M3MeshSection* self) {
delete reinterpret_cast<whiteout::m3::MeshSection*>(self);
}
uint32_t whiteout_m3_M3MeshSection_get_nodeIndex(const whiteout_M3MeshSection* self) {
return reinterpret_cast<const whiteout::m3::MeshSection*>(self)->nodeIndex;
}
void whiteout_m3_M3MeshSection_set_nodeIndex(whiteout_M3MeshSection* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MeshSection*>(self)->nodeIndex = value;
}
whiteout_M3AnimRefM3Extent* whiteout_m3_M3MeshSection_get_bounds(whiteout_M3MeshSection* self) {
return reinterpret_cast<whiteout_M3AnimRefM3Extent*>(&reinterpret_cast<whiteout::m3::MeshSection*>(self)->bounds);
}
void whiteout_m3_M3MeshSection_set_bounds(whiteout_M3MeshSection* self, const whiteout_M3AnimRefM3Extent* value) {
reinterpret_cast<whiteout::m3::MeshSection*>(self)->bounds = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::Extent>*>(value);
}
}
extern "C" {
whiteout_M3MeshDivision* whiteout_m3_M3MeshDivision_new(void) {
return reinterpret_cast<whiteout_M3MeshDivision*>(new whiteout::m3::MeshDivision());
}
void whiteout_m3_M3MeshDivision_delete(whiteout_M3MeshDivision* self) {
delete reinterpret_cast<whiteout::m3::MeshDivision*>(self);
}
size_t whiteout_m3_M3MeshDivision_get_faces_count(const whiteout_M3MeshDivision* self) {
return reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->faces.size();
}
void whiteout_m3_M3MeshDivision_resize_faces(whiteout_M3MeshDivision* self, size_t count) {
reinterpret_cast<whiteout::m3::MeshDivision*>(self)->faces.resize(count);
}
const uint16_t* whiteout_m3_M3MeshDivision_get_faces_data(const whiteout_M3MeshDivision* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->faces;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3MeshDivision_assign_faces(whiteout_M3MeshDivision* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::MeshDivision*>(self)->faces;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3MeshDivision_get_regions_count(const whiteout_M3MeshDivision* self) {
return reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->regions.size();
}
void whiteout_m3_M3MeshDivision_resize_regions(whiteout_M3MeshDivision* self, size_t count) {
reinterpret_cast<whiteout::m3::MeshDivision*>(self)->regions.resize(count);
}
whiteout_M3Region* whiteout_m3_M3MeshDivision_get_regions_at(whiteout_M3MeshDivision* self, size_t index) {
return reinterpret_cast<whiteout_M3Region*>(&reinterpret_cast<whiteout::m3::MeshDivision*>(self)->regions[index]);
}
size_t whiteout_m3_M3MeshDivision_get_batches_count(const whiteout_M3MeshDivision* self) {
return reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->batches.size();
}
void whiteout_m3_M3MeshDivision_resize_batches(whiteout_M3MeshDivision* self, size_t count) {
reinterpret_cast<whiteout::m3::MeshDivision*>(self)->batches.resize(count);
}
whiteout_M3Batch* whiteout_m3_M3MeshDivision_get_batches_at(whiteout_M3MeshDivision* self, size_t index) {
return reinterpret_cast<whiteout_M3Batch*>(&reinterpret_cast<whiteout::m3::MeshDivision*>(self)->batches[index]);
}
size_t whiteout_m3_M3MeshDivision_get_msec_count(const whiteout_M3MeshDivision* self) {
return reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->msec.size();
}
void whiteout_m3_M3MeshDivision_resize_msec(whiteout_M3MeshDivision* self, size_t count) {
reinterpret_cast<whiteout::m3::MeshDivision*>(self)->msec.resize(count);
}
whiteout_M3MeshSection* whiteout_m3_M3MeshDivision_get_msec_at(whiteout_M3MeshDivision* self, size_t index) {
return reinterpret_cast<whiteout_M3MeshSection*>(&reinterpret_cast<whiteout::m3::MeshDivision*>(self)->msec[index]);
}
uint32_t whiteout_m3_M3MeshDivision_get_instances(const whiteout_M3MeshDivision* self) {
return reinterpret_cast<const whiteout::m3::MeshDivision*>(self)->instances;
}
void whiteout_m3_M3MeshDivision_set_instances(whiteout_M3MeshDivision* self, uint32_t value) {
reinterpret_cast<whiteout::m3::MeshDivision*>(self)->instances = value;
}
}
extern "C" {
whiteout_M3InitialReference* whiteout_m3_M3InitialReference_new(void) {
return reinterpret_cast<whiteout_M3InitialReference*>(new whiteout::m3::InitialReference());
}
void whiteout_m3_M3InitialReference_delete(whiteout_M3InitialReference* self) {
delete reinterpret_cast<whiteout::m3::InitialReference*>(self);
}
}
extern "C" {
whiteout_M3AttachmentPoint* whiteout_m3_M3AttachmentPoint_new(void) {
return reinterpret_cast<whiteout_M3AttachmentPoint*>(new whiteout::m3::AttachmentPoint());
}
void whiteout_m3_M3AttachmentPoint_delete(whiteout_M3AttachmentPoint* self) {
delete reinterpret_cast<whiteout::m3::AttachmentPoint*>(self);
}
uint32_t whiteout_m3_M3AttachmentPoint_get_unknown(const whiteout_M3AttachmentPoint* self) {
return reinterpret_cast<const whiteout::m3::AttachmentPoint*>(self)->unknown;
}
void whiteout_m3_M3AttachmentPoint_set_unknown(whiteout_M3AttachmentPoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AttachmentPoint*>(self)->unknown = value;
}
whiteout_CString whiteout_m3_M3AttachmentPoint_get_name(const whiteout_M3AttachmentPoint* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::AttachmentPoint*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3AttachmentPoint_set_name(whiteout_M3AttachmentPoint* self, const char* value) {
reinterpret_cast<whiteout::m3::AttachmentPoint*>(self)->name = (value ? value : "");
}
uint32_t whiteout_m3_M3AttachmentPoint_get_boneIndex(const whiteout_M3AttachmentPoint* self) {
return reinterpret_cast<const whiteout::m3::AttachmentPoint*>(self)->boneIndex;
}
void whiteout_m3_M3AttachmentPoint_set_boneIndex(whiteout_M3AttachmentPoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AttachmentPoint*>(self)->boneIndex = value;
}
}
extern "C" {
whiteout_M3HitTestShape* whiteout_m3_M3HitTestShape_new(void) {
return reinterpret_cast<whiteout_M3HitTestShape*>(new whiteout::m3::HitTestShape());
}
void whiteout_m3_M3HitTestShape_delete(whiteout_M3HitTestShape* self) {
delete reinterpret_cast<whiteout::m3::HitTestShape*>(self);
}
int32_t whiteout_m3_M3HitTestShape_get_shapeType(const whiteout_M3HitTestShape* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->shapeType);
}
void whiteout_m3_M3HitTestShape_set_shapeType(whiteout_M3HitTestShape* self, int32_t value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->shapeType = static_cast<whiteout::m3::HitTestShapeType>(value);
}
uint16_t whiteout_m3_M3HitTestShape_get_boneIndex(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->boneIndex;
}
void whiteout_m3_M3HitTestShape_set_boneIndex(whiteout_M3HitTestShape* self, uint16_t value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->boneIndex = value;
}
uint16_t whiteout_m3_M3HitTestShape_get_padding(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->padding;
}
void whiteout_m3_M3HitTestShape_set_padding(whiteout_M3HitTestShape* self, uint16_t value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->padding = value;
}
size_t whiteout_m3_M3HitTestShape_get_vertexPositions_count(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->vertexPositions.size();
}
void whiteout_m3_M3HitTestShape_resize_vertexPositions(whiteout_M3HitTestShape* self, size_t count) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->vertexPositions.resize(count);
}
const float* whiteout_m3_M3HitTestShape_get_vertexPositions_data(const whiteout_M3HitTestShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->vertexPositions;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3HitTestShape_assign_vertexPositions(whiteout_M3HitTestShape* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::HitTestShape*>(self)->vertexPositions;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
size_t whiteout_m3_M3HitTestShape_get_faceIndices_count(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->faceIndices.size();
}
void whiteout_m3_M3HitTestShape_resize_faceIndices(whiteout_M3HitTestShape* self, size_t count) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->faceIndices.resize(count);
}
const uint16_t* whiteout_m3_M3HitTestShape_get_faceIndices_data(const whiteout_M3HitTestShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->faceIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3HitTestShape_assign_faceIndices(whiteout_M3HitTestShape* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::HitTestShape*>(self)->faceIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
float whiteout_m3_M3HitTestShape_get_sizeX(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->sizeX;
}
void whiteout_m3_M3HitTestShape_set_sizeX(whiteout_M3HitTestShape* self, float value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->sizeX = value;
}
float whiteout_m3_M3HitTestShape_get_sizeY(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->sizeY;
}
void whiteout_m3_M3HitTestShape_set_sizeY(whiteout_M3HitTestShape* self, float value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->sizeY = value;
}
float whiteout_m3_M3HitTestShape_get_sizeZ(const whiteout_M3HitTestShape* self) {
return reinterpret_cast<const whiteout::m3::HitTestShape*>(self)->sizeZ;
}
void whiteout_m3_M3HitTestShape_set_sizeZ(whiteout_M3HitTestShape* self, float value) {
reinterpret_cast<whiteout::m3::HitTestShape*>(self)->sizeZ = value;
}
}
extern "C" {
whiteout_M3AttachmentVolume* whiteout_m3_M3AttachmentVolume_new(void) {
return reinterpret_cast<whiteout_M3AttachmentVolume*>(new whiteout::m3::AttachmentVolume());
}
void whiteout_m3_M3AttachmentVolume_delete(whiteout_M3AttachmentVolume* self) {
delete reinterpret_cast<whiteout::m3::AttachmentVolume*>(self);
}
uint32_t whiteout_m3_M3AttachmentVolume_get_bone1(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->bone1;
}
void whiteout_m3_M3AttachmentVolume_set_bone1(whiteout_M3AttachmentVolume* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->bone1 = value;
}
uint32_t whiteout_m3_M3AttachmentVolume_get_bone2(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->bone2;
}
void whiteout_m3_M3AttachmentVolume_set_bone2(whiteout_M3AttachmentVolume* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->bone2 = value;
}
int32_t whiteout_m3_M3AttachmentVolume_get_shapeType(const whiteout_M3AttachmentVolume* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->shapeType);
}
void whiteout_m3_M3AttachmentVolume_set_shapeType(whiteout_M3AttachmentVolume* self, int32_t value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->shapeType = static_cast<whiteout::m3::HitTestShapeType>(value);
}
uint16_t whiteout_m3_M3AttachmentVolume_get_boneIndex(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->boneIndex;
}
void whiteout_m3_M3AttachmentVolume_set_boneIndex(whiteout_M3AttachmentVolume* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->boneIndex = value;
}
uint16_t whiteout_m3_M3AttachmentVolume_get_padding(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->padding;
}
void whiteout_m3_M3AttachmentVolume_set_padding(whiteout_M3AttachmentVolume* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->padding = value;
}
size_t whiteout_m3_M3AttachmentVolume_get_vertexPositions_count(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->vertexPositions.size();
}
void whiteout_m3_M3AttachmentVolume_resize_vertexPositions(whiteout_M3AttachmentVolume* self, size_t count) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->vertexPositions.resize(count);
}
const float* whiteout_m3_M3AttachmentVolume_get_vertexPositions_data(const whiteout_M3AttachmentVolume* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->vertexPositions;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3AttachmentVolume_assign_vertexPositions(whiteout_M3AttachmentVolume* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->vertexPositions;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
size_t whiteout_m3_M3AttachmentVolume_get_faceIndices_count(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->faceIndices.size();
}
void whiteout_m3_M3AttachmentVolume_resize_faceIndices(whiteout_M3AttachmentVolume* self, size_t count) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->faceIndices.resize(count);
}
const uint16_t* whiteout_m3_M3AttachmentVolume_get_faceIndices_data(const whiteout_M3AttachmentVolume* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->faceIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3AttachmentVolume_assign_faceIndices(whiteout_M3AttachmentVolume* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->faceIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
float whiteout_m3_M3AttachmentVolume_get_sizeX(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->sizeX;
}
void whiteout_m3_M3AttachmentVolume_set_sizeX(whiteout_M3AttachmentVolume* self, float value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->sizeX = value;
}
float whiteout_m3_M3AttachmentVolume_get_sizeY(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->sizeY;
}
void whiteout_m3_M3AttachmentVolume_set_sizeY(whiteout_M3AttachmentVolume* self, float value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->sizeY = value;
}
float whiteout_m3_M3AttachmentVolume_get_sizeZ(const whiteout_M3AttachmentVolume* self) {
return reinterpret_cast<const whiteout::m3::AttachmentVolume*>(self)->sizeZ;
}
void whiteout_m3_M3AttachmentVolume_set_sizeZ(whiteout_M3AttachmentVolume* self, float value) {
reinterpret_cast<whiteout::m3::AttachmentVolume*>(self)->sizeZ = value;
}
}
extern "C" {
whiteout_M3TriggerData* whiteout_m3_M3TriggerData_new(void) {
return reinterpret_cast<whiteout_M3TriggerData*>(new whiteout::m3::TriggerData());
}
void whiteout_m3_M3TriggerData_delete(whiteout_M3TriggerData* self) {
delete reinterpret_cast<whiteout::m3::TriggerData*>(self);
}
size_t whiteout_m3_M3TriggerData_get_dataIndices_count(const whiteout_M3TriggerData* self) {
return reinterpret_cast<const whiteout::m3::TriggerData*>(self)->dataIndices.size();
}
void whiteout_m3_M3TriggerData_resize_dataIndices(whiteout_M3TriggerData* self, size_t count) {
reinterpret_cast<whiteout::m3::TriggerData*>(self)->dataIndices.resize(count);
}
const uint32_t* whiteout_m3_M3TriggerData_get_dataIndices_data(const whiteout_M3TriggerData* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::TriggerData*>(self)->dataIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3TriggerData_assign_dataIndices(whiteout_M3TriggerData* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::TriggerData*>(self)->dataIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
whiteout_CString whiteout_m3_M3TriggerData_get_name(const whiteout_M3TriggerData* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::TriggerData*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3TriggerData_set_name(whiteout_M3TriggerData* self, const char* value) {
reinterpret_cast<whiteout::m3::TriggerData*>(self)->name = (value ? value : "");
}
}
extern "C" {
whiteout_M3TurretBehavior* whiteout_m3_M3TurretBehavior_new(void) {
return reinterpret_cast<whiteout_M3TurretBehavior*>(new whiteout::m3::TurretBehavior());
}
void whiteout_m3_M3TurretBehavior_delete(whiteout_M3TurretBehavior* self) {
delete reinterpret_cast<whiteout::m3::TurretBehavior*>(self);
}
whiteout_Vector4f* whiteout_m3_M3TurretBehavior_get_unknown1(whiteout_M3TurretBehavior* self) {
return reinterpret_cast<whiteout_Vector4f*>(&reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown1);
}
void whiteout_m3_M3TurretBehavior_set_unknown1(whiteout_M3TurretBehavior* self, const whiteout_Vector4f* value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown1 = *reinterpret_cast<const whiteout::Vector4f*>(value);
}
whiteout_Vector4f* whiteout_m3_M3TurretBehavior_get_unknown2(whiteout_M3TurretBehavior* self) {
return reinterpret_cast<whiteout_Vector4f*>(&reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown2);
}
void whiteout_m3_M3TurretBehavior_set_unknown2(whiteout_M3TurretBehavior* self, const whiteout_Vector4f* value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown2 = *reinterpret_cast<const whiteout::Vector4f*>(value);
}
uint16_t whiteout_m3_M3TurretBehavior_get_boneIndex(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->boneIndex;
}
void whiteout_m3_M3TurretBehavior_set_boneIndex(whiteout_M3TurretBehavior* self, uint16_t value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->boneIndex = value;
}
uint8_t whiteout_m3_M3TurretBehavior_get_useAsMainTurret(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->useAsMainTurret;
}
void whiteout_m3_M3TurretBehavior_set_useAsMainTurret(whiteout_M3TurretBehavior* self, uint8_t value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->useAsMainTurret = value;
}
uint8_t whiteout_m3_M3TurretBehavior_get_turretGroupId(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->turretGroupId;
}
void whiteout_m3_M3TurretBehavior_set_turretGroupId(whiteout_M3TurretBehavior* self, uint8_t value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->turretGroupId = value;
}
uint32_t whiteout_m3_M3TurretBehavior_get_yawLimited(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->yawLimited;
}
void whiteout_m3_M3TurretBehavior_set_yawLimited(whiteout_M3TurretBehavior* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->yawLimited = value;
}
float whiteout_m3_M3TurretBehavior_get_yawMin(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->yawMin;
}
void whiteout_m3_M3TurretBehavior_set_yawMin(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->yawMin = value;
}
float whiteout_m3_M3TurretBehavior_get_yawMax(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->yawMax;
}
void whiteout_m3_M3TurretBehavior_set_yawMax(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->yawMax = value;
}
float whiteout_m3_M3TurretBehavior_get_yawWeight(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->yawWeight;
}
void whiteout_m3_M3TurretBehavior_set_yawWeight(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->yawWeight = value;
}
uint32_t whiteout_m3_M3TurretBehavior_get_pitchLimited(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->pitchLimited;
}
void whiteout_m3_M3TurretBehavior_set_pitchLimited(whiteout_M3TurretBehavior* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->pitchLimited = value;
}
float whiteout_m3_M3TurretBehavior_get_pitchMin(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->pitchMin;
}
void whiteout_m3_M3TurretBehavior_set_pitchMin(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->pitchMin = value;
}
float whiteout_m3_M3TurretBehavior_get_pitchMax(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->pitchMax;
}
void whiteout_m3_M3TurretBehavior_set_pitchMax(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->pitchMax = value;
}
float whiteout_m3_M3TurretBehavior_get_pitchWeight(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->pitchWeight;
}
void whiteout_m3_M3TurretBehavior_set_pitchWeight(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->pitchWeight = value;
}
float whiteout_m3_M3TurretBehavior_get_unknown3(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->unknown3;
}
void whiteout_m3_M3TurretBehavior_set_unknown3(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown3 = value;
}
float whiteout_m3_M3TurretBehavior_get_unknown4(const whiteout_M3TurretBehavior* self) {
return reinterpret_cast<const whiteout::m3::TurretBehavior*>(self)->unknown4;
}
void whiteout_m3_M3TurretBehavior_set_unknown4(whiteout_M3TurretBehavior* self, float value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->unknown4 = value;
}
whiteout_Vector3f* whiteout_m3_M3TurretBehavior_get_mainBoneOffset(whiteout_M3TurretBehavior* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->mainBoneOffset);
}
void whiteout_m3_M3TurretBehavior_set_mainBoneOffset(whiteout_M3TurretBehavior* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::TurretBehavior*>(self)->mainBoneOffset = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
}
extern "C" {
whiteout_M3BillboardBehavior* whiteout_m3_M3BillboardBehavior_new(void) {
return reinterpret_cast<whiteout_M3BillboardBehavior*>(new whiteout::m3::BillboardBehavior());
}
void whiteout_m3_M3BillboardBehavior_delete(whiteout_M3BillboardBehavior* self) {
delete reinterpret_cast<whiteout::m3::BillboardBehavior*>(self);
}
size_t whiteout_m3_M3BillboardBehavior_get_dependents_count(const whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<const whiteout::m3::BillboardBehavior*>(self)->dependents.size();
}
void whiteout_m3_M3BillboardBehavior_resize_dependents(whiteout_M3BillboardBehavior* self, size_t count) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3BillboardBehavior_get_dependents_data(const whiteout_M3BillboardBehavior* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::BillboardBehavior*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3BillboardBehavior_assign_dependents(whiteout_M3BillboardBehavior* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3BillboardBehavior_get_boneIndex(const whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<const whiteout::m3::BillboardBehavior*>(self)->boneIndex;
}
void whiteout_m3_M3BillboardBehavior_set_boneIndex(whiteout_M3BillboardBehavior* self, uint16_t value) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->boneIndex = value;
}
uint8_t whiteout_m3_M3BillboardBehavior_get_billboardType(const whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<const whiteout::m3::BillboardBehavior*>(self)->billboardType;
}
void whiteout_m3_M3BillboardBehavior_set_billboardType(whiteout_M3BillboardBehavior* self, uint8_t value) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->billboardType = value;
}
uint8_t whiteout_m3_M3BillboardBehavior_get_cameraLookAt(const whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<const whiteout::m3::BillboardBehavior*>(self)->cameraLookAt;
}
void whiteout_m3_M3BillboardBehavior_set_cameraLookAt(whiteout_M3BillboardBehavior* self, uint8_t value) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->cameraLookAt = value;
}
whiteout_Quaternion* whiteout_m3_M3BillboardBehavior_get_up(whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<whiteout_Quaternion*>(&reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->up);
}
void whiteout_m3_M3BillboardBehavior_set_up(whiteout_M3BillboardBehavior* self, const whiteout_Quaternion* value) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->up = *reinterpret_cast<const whiteout::Quaternion*>(value);
}
whiteout_Quaternion* whiteout_m3_M3BillboardBehavior_get_forward(whiteout_M3BillboardBehavior* self) {
return reinterpret_cast<whiteout_Quaternion*>(&reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->forward);
}
void whiteout_m3_M3BillboardBehavior_set_forward(whiteout_M3BillboardBehavior* self, const whiteout_Quaternion* value) {
reinterpret_cast<whiteout::m3::BillboardBehavior*>(self)->forward = *reinterpret_cast<const whiteout::Quaternion*>(value);
}
}
extern "C" {
whiteout_M3IKJoint* whiteout_m3_M3IKJoint_new(void) {
return reinterpret_cast<whiteout_M3IKJoint*>(new whiteout::m3::IKJoint());
}
void whiteout_m3_M3IKJoint_delete(whiteout_M3IKJoint* self) {
delete reinterpret_cast<whiteout::m3::IKJoint*>(self);
}
size_t whiteout_m3_M3IKJoint_get_dependents_count(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->dependents.size();
}
void whiteout_m3_M3IKJoint_resize_dependents(whiteout_M3IKJoint* self, size_t count) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3IKJoint_get_dependents_data(const whiteout_M3IKJoint* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::IKJoint*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3IKJoint_assign_dependents(whiteout_M3IKJoint* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::IKJoint*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3IKJoint_get_boneIndex1(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->boneIndex1;
}
void whiteout_m3_M3IKJoint_set_boneIndex1(whiteout_M3IKJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->boneIndex1 = value;
}
uint16_t whiteout_m3_M3IKJoint_get_boneIndex2(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->boneIndex2;
}
void whiteout_m3_M3IKJoint_set_boneIndex2(whiteout_M3IKJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->boneIndex2 = value;
}
float whiteout_m3_M3IKJoint_get_raycastUp(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->raycastUp;
}
void whiteout_m3_M3IKJoint_set_raycastUp(whiteout_M3IKJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->raycastUp = value;
}
float whiteout_m3_M3IKJoint_get_raycastDown(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->raycastDown;
}
void whiteout_m3_M3IKJoint_set_raycastDown(whiteout_M3IKJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->raycastDown = value;
}
float whiteout_m3_M3IKJoint_get_maxSpeed(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->maxSpeed;
}
void whiteout_m3_M3IKJoint_set_maxSpeed(whiteout_M3IKJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->maxSpeed = value;
}
float whiteout_m3_M3IKJoint_get_goalThreshold(const whiteout_M3IKJoint* self) {
return reinterpret_cast<const whiteout::m3::IKJoint*>(self)->goalThreshold;
}
void whiteout_m3_M3IKJoint_set_goalThreshold(whiteout_M3IKJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKJoint*>(self)->goalThreshold = value;
}
}
extern "C" {
whiteout_M3IKTwoJoint* whiteout_m3_M3IKTwoJoint_new(void) {
return reinterpret_cast<whiteout_M3IKTwoJoint*>(new whiteout::m3::IKTwoJoint());
}
void whiteout_m3_M3IKTwoJoint_delete(whiteout_M3IKTwoJoint* self) {
delete reinterpret_cast<whiteout::m3::IKTwoJoint*>(self);
}
size_t whiteout_m3_M3IKTwoJoint_get_dependents_count(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->dependents.size();
}
void whiteout_m3_M3IKTwoJoint_resize_dependents(whiteout_M3IKTwoJoint* self, size_t count) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3IKTwoJoint_get_dependents_data(const whiteout_M3IKTwoJoint* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3IKTwoJoint_assign_dependents(whiteout_M3IKTwoJoint* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3IKTwoJoint_get_boneBase(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->boneBase;
}
void whiteout_m3_M3IKTwoJoint_set_boneBase(whiteout_M3IKTwoJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->boneBase = value;
}
uint16_t whiteout_m3_M3IKTwoJoint_get_boneTarget(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->boneTarget;
}
void whiteout_m3_M3IKTwoJoint_set_boneTarget(whiteout_M3IKTwoJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->boneTarget = value;
}
uint16_t whiteout_m3_M3IKTwoJoint_get_boneEnd(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->boneEnd;
}
void whiteout_m3_M3IKTwoJoint_set_boneEnd(whiteout_M3IKTwoJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->boneEnd = value;
}
uint16_t whiteout_m3_M3IKTwoJoint_get_padding(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->padding;
}
void whiteout_m3_M3IKTwoJoint_set_padding(whiteout_M3IKTwoJoint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->padding = value;
}
whiteout_Vector3f* whiteout_m3_M3IKTwoJoint_get_hingeAxis(whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->hingeAxis);
}
void whiteout_m3_M3IKTwoJoint_set_hingeAxis(whiteout_M3IKTwoJoint* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->hingeAxis = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
float whiteout_m3_M3IKTwoJoint_get_maxAngleInner(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->maxAngleInner;
}
void whiteout_m3_M3IKTwoJoint_set_maxAngleInner(whiteout_M3IKTwoJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->maxAngleInner = value;
}
float whiteout_m3_M3IKTwoJoint_get_maxAngleOuter(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->maxAngleOuter;
}
void whiteout_m3_M3IKTwoJoint_set_maxAngleOuter(whiteout_M3IKTwoJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->maxAngleOuter = value;
}
float whiteout_m3_M3IKTwoJoint_get_searchUp(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->searchUp;
}
void whiteout_m3_M3IKTwoJoint_set_searchUp(whiteout_M3IKTwoJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->searchUp = value;
}
float whiteout_m3_M3IKTwoJoint_get_searchDown(const whiteout_M3IKTwoJoint* self) {
return reinterpret_cast<const whiteout::m3::IKTwoJoint*>(self)->searchDown;
}
void whiteout_m3_M3IKTwoJoint_set_searchDown(whiteout_M3IKTwoJoint* self, float value) {
reinterpret_cast<whiteout::m3::IKTwoJoint*>(self)->searchDown = value;
}
}
extern "C" {
whiteout_M3IKCCD* whiteout_m3_M3IKCCD_new(void) {
return reinterpret_cast<whiteout_M3IKCCD*>(new whiteout::m3::IKCCD());
}
void whiteout_m3_M3IKCCD_delete(whiteout_M3IKCCD* self) {
delete reinterpret_cast<whiteout::m3::IKCCD*>(self);
}
size_t whiteout_m3_M3IKCCD_get_dependents_count(const whiteout_M3IKCCD* self) {
return reinterpret_cast<const whiteout::m3::IKCCD*>(self)->dependents.size();
}
void whiteout_m3_M3IKCCD_resize_dependents(whiteout_M3IKCCD* self, size_t count) {
reinterpret_cast<whiteout::m3::IKCCD*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3IKCCD_get_dependents_data(const whiteout_M3IKCCD* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::IKCCD*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3IKCCD_assign_dependents(whiteout_M3IKCCD* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::IKCCD*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3IKCCD_get_boneBase(const whiteout_M3IKCCD* self) {
return reinterpret_cast<const whiteout::m3::IKCCD*>(self)->boneBase;
}
void whiteout_m3_M3IKCCD_set_boneBase(whiteout_M3IKCCD* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKCCD*>(self)->boneBase = value;
}
uint16_t whiteout_m3_M3IKCCD_get_boneTarget(const whiteout_M3IKCCD* self) {
return reinterpret_cast<const whiteout::m3::IKCCD*>(self)->boneTarget;
}
void whiteout_m3_M3IKCCD_set_boneTarget(whiteout_M3IKCCD* self, uint16_t value) {
reinterpret_cast<whiteout::m3::IKCCD*>(self)->boneTarget = value;
}
float whiteout_m3_M3IKCCD_get_searchUp(const whiteout_M3IKCCD* self) {
return reinterpret_cast<const whiteout::m3::IKCCD*>(self)->searchUp;
}
void whiteout_m3_M3IKCCD_set_searchUp(whiteout_M3IKCCD* self, float value) {
reinterpret_cast<whiteout::m3::IKCCD*>(self)->searchUp = value;
}
float whiteout_m3_M3IKCCD_get_searchDown(const whiteout_M3IKCCD* self) {
return reinterpret_cast<const whiteout::m3::IKCCD*>(self)->searchDown;
}
void whiteout_m3_M3IKCCD_set_searchDown(whiteout_M3IKCCD* self, float value) {
reinterpret_cast<whiteout::m3::IKCCD*>(self)->searchDown = value;
}
}
extern "C" {
whiteout_M3OneBoneSolver* whiteout_m3_M3OneBoneSolver_new(void) {
return reinterpret_cast<whiteout_M3OneBoneSolver*>(new whiteout::m3::OneBoneSolver());
}
void whiteout_m3_M3OneBoneSolver_delete(whiteout_M3OneBoneSolver* self) {
delete reinterpret_cast<whiteout::m3::OneBoneSolver*>(self);
}
size_t whiteout_m3_M3OneBoneSolver_get_dependents_count(const whiteout_M3OneBoneSolver* self) {
return reinterpret_cast<const whiteout::m3::OneBoneSolver*>(self)->dependents.size();
}
void whiteout_m3_M3OneBoneSolver_resize_dependents(whiteout_M3OneBoneSolver* self, size_t count) {
reinterpret_cast<whiteout::m3::OneBoneSolver*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3OneBoneSolver_get_dependents_data(const whiteout_M3OneBoneSolver* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::OneBoneSolver*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3OneBoneSolver_assign_dependents(whiteout_M3OneBoneSolver* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::OneBoneSolver*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3OneBoneSolver_get_bone(const whiteout_M3OneBoneSolver* self) {
return reinterpret_cast<const whiteout::m3::OneBoneSolver*>(self)->bone;
}
void whiteout_m3_M3OneBoneSolver_set_bone(whiteout_M3OneBoneSolver* self, uint16_t value) {
reinterpret_cast<whiteout::m3::OneBoneSolver*>(self)->bone = value;
}
uint16_t whiteout_m3_M3OneBoneSolver_get_boneFallback(const whiteout_M3OneBoneSolver* self) {
return reinterpret_cast<const whiteout::m3::OneBoneSolver*>(self)->boneFallback;
}
void whiteout_m3_M3OneBoneSolver_set_boneFallback(whiteout_M3OneBoneSolver* self, uint16_t value) {
reinterpret_cast<whiteout::m3::OneBoneSolver*>(self)->boneFallback = value;
}
float whiteout_m3_M3OneBoneSolver_get_maxAngle(const whiteout_M3OneBoneSolver* self) {
return reinterpret_cast<const whiteout::m3::OneBoneSolver*>(self)->maxAngle;
}
void whiteout_m3_M3OneBoneSolver_set_maxAngle(whiteout_M3OneBoneSolver* self, float value) {
reinterpret_cast<whiteout::m3::OneBoneSolver*>(self)->maxAngle = value;
}
}
extern "C" {
whiteout_M3ShadowBox* whiteout_m3_M3ShadowBox_new(void) {
return reinterpret_cast<whiteout_M3ShadowBox*>(new whiteout::m3::ShadowBox());
}
void whiteout_m3_M3ShadowBox_delete(whiteout_M3ShadowBox* self) {
delete reinterpret_cast<whiteout::m3::ShadowBox*>(self);
}
}
extern "C" {
whiteout_M3ViewVolume* whiteout_m3_M3ViewVolume_new(void) {
return reinterpret_cast<whiteout_M3ViewVolume*>(new whiteout::m3::ViewVolume());
}
void whiteout_m3_M3ViewVolume_delete(whiteout_M3ViewVolume* self) {
delete reinterpret_cast<whiteout::m3::ViewVolume*>(self);
}
uint32_t whiteout_m3_M3ViewVolume_get_nodeIndex(const whiteout_M3ViewVolume* self) {
return reinterpret_cast<const whiteout::m3::ViewVolume*>(self)->nodeIndex;
}
void whiteout_m3_M3ViewVolume_set_nodeIndex(whiteout_M3ViewVolume* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ViewVolume*>(self)->nodeIndex = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3ViewVolume_get_size(whiteout_M3ViewVolume* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::ViewVolume*>(self)->size);
}
void whiteout_m3_M3ViewVolume_set_size(whiteout_M3ViewVolume* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::ViewVolume*>(self)->size = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
}
extern "C" {
whiteout_M3TrailingModel* whiteout_m3_M3TrailingModel_new(void) {
return reinterpret_cast<whiteout_M3TrailingModel*>(new whiteout::m3::TrailingModel());
}
void whiteout_m3_M3TrailingModel_delete(whiteout_M3TrailingModel* self) {
delete reinterpret_cast<whiteout::m3::TrailingModel*>(self);
}
size_t whiteout_m3_M3TrailingModel_get_vectors_count(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->vectors.size();
}
void whiteout_m3_M3TrailingModel_resize_vectors(whiteout_M3TrailingModel* self, size_t count) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->vectors.resize(count);
}
const float* whiteout_m3_M3TrailingModel_get_vectors_data(const whiteout_M3TrailingModel* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->vectors;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3TrailingModel_assign_vectors(whiteout_M3TrailingModel* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::TrailingModel*>(self)->vectors;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
float whiteout_m3_M3TrailingModel_get_param0(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->param0;
}
void whiteout_m3_M3TrailingModel_set_param0(whiteout_M3TrailingModel* self, float value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->param0 = value;
}
float whiteout_m3_M3TrailingModel_get_param1(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->param1;
}
void whiteout_m3_M3TrailingModel_set_param1(whiteout_M3TrailingModel* self, float value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->param1 = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3TrailingModel_get_animFloat0(whiteout_M3TrailingModel* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TrailingModel*>(self)->animFloat0);
}
void whiteout_m3_M3TrailingModel_set_animFloat0(whiteout_M3TrailingModel* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->animFloat0 = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3TrailingModel_get_animFloat1(whiteout_M3TrailingModel* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::TrailingModel*>(self)->animFloat1);
}
void whiteout_m3_M3TrailingModel_set_animFloat1(whiteout_M3TrailingModel* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->animFloat1 = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3TrailingModel_get_flag(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->flag;
}
void whiteout_m3_M3TrailingModel_set_flag(whiteout_M3TrailingModel* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->flag = value;
}
uint32_t whiteout_m3_M3TrailingModel_get_reserved0(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->reserved0;
}
void whiteout_m3_M3TrailingModel_set_reserved0(whiteout_M3TrailingModel* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->reserved0 = value;
}
uint32_t whiteout_m3_M3TrailingModel_get_reserved1(const whiteout_M3TrailingModel* self) {
return reinterpret_cast<const whiteout::m3::TrailingModel*>(self)->reserved1;
}
void whiteout_m3_M3TrailingModel_set_reserved1(whiteout_M3TrailingModel* self, uint32_t value) {
reinterpret_cast<whiteout::m3::TrailingModel*>(self)->reserved1 = value;
}
}
extern "C" {
whiteout_M3Force* whiteout_m3_M3Force_new(void) {
return reinterpret_cast<whiteout_M3Force*>(new whiteout::m3::Force());
}
void whiteout_m3_M3Force_delete(whiteout_M3Force* self) {
delete reinterpret_cast<whiteout::m3::Force*>(self);
}
int32_t whiteout_m3_M3Force_get_forceType(const whiteout_M3Force* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Force*>(self)->forceType);
}
void whiteout_m3_M3Force_set_forceType(whiteout_M3Force* self, int32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->forceType = static_cast<whiteout::m3::ForceType>(value);
}
int32_t whiteout_m3_M3Force_get_forceShape(const whiteout_M3Force* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Force*>(self)->forceShape);
}
void whiteout_m3_M3Force_set_forceShape(whiteout_M3Force* self, int32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->forceShape = static_cast<whiteout::m3::ForceShape>(value);
}
uint32_t whiteout_m3_M3Force_get_unknown(const whiteout_M3Force* self) {
return reinterpret_cast<const whiteout::m3::Force*>(self)->unknown;
}
void whiteout_m3_M3Force_set_unknown(whiteout_M3Force* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->unknown = value;
}
uint32_t whiteout_m3_M3Force_get_boneIndex(const whiteout_M3Force* self) {
return reinterpret_cast<const whiteout::m3::Force*>(self)->boneIndex;
}
void whiteout_m3_M3Force_set_boneIndex(whiteout_M3Force* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->boneIndex = value;
}
int32_t whiteout_m3_M3Force_get_flags(const whiteout_M3Force* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Force*>(self)->flags);
}
void whiteout_m3_M3Force_set_flags(whiteout_M3Force* self, int32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->flags = static_cast<whiteout::m3::ForceFlag>(value);
}
uint32_t whiteout_m3_M3Force_get_localChannels(const whiteout_M3Force* self) {
return reinterpret_cast<const whiteout::m3::Force*>(self)->localChannels;
}
void whiteout_m3_M3Force_set_localChannels(whiteout_M3Force* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Force*>(self)->localChannels = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3Force_get_strength(whiteout_M3Force* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Force*>(self)->strength);
}
void whiteout_m3_M3Force_set_strength(whiteout_M3Force* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Force*>(self)->strength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Force_get_width(whiteout_M3Force* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Force*>(self)->width);
}
void whiteout_m3_M3Force_set_width(whiteout_M3Force* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Force*>(self)->width = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Force_get_height(whiteout_M3Force* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Force*>(self)->height);
}
void whiteout_m3_M3Force_set_height(whiteout_M3Force* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Force*>(self)->height = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Force_get_length(whiteout_M3Force* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Force*>(self)->length);
}
void whiteout_m3_M3Force_set_length(whiteout_M3Force* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Force*>(self)->length = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3Warp* whiteout_m3_M3Warp_new(void) {
return reinterpret_cast<whiteout_M3Warp*>(new whiteout::m3::Warp());
}
void whiteout_m3_M3Warp_delete(whiteout_M3Warp* self) {
delete reinterpret_cast<whiteout::m3::Warp*>(self);
}
uint32_t whiteout_m3_M3Warp_get_warpType(const whiteout_M3Warp* self) {
return reinterpret_cast<const whiteout::m3::Warp*>(self)->warpType;
}
void whiteout_m3_M3Warp_set_warpType(whiteout_M3Warp* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->warpType = value;
}
uint32_t whiteout_m3_M3Warp_get_boneIndex(const whiteout_M3Warp* self) {
return reinterpret_cast<const whiteout::m3::Warp*>(self)->boneIndex;
}
void whiteout_m3_M3Warp_set_boneIndex(whiteout_M3Warp* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->boneIndex = value;
}
uint32_t whiteout_m3_M3Warp_get_unknown(const whiteout_M3Warp* self) {
return reinterpret_cast<const whiteout::m3::Warp*>(self)->unknown;
}
void whiteout_m3_M3Warp_set_unknown(whiteout_M3Warp* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->unknown = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_radius(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->radius);
}
void whiteout_m3_M3Warp_set_radius(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->radius = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_height(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->height);
}
void whiteout_m3_M3Warp_set_height(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->height = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_strength(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->strength);
}
void whiteout_m3_M3Warp_set_strength(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->strength = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_angular(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->angular);
}
void whiteout_m3_M3Warp_set_angular(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->angular = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_axial(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->axial);
}
void whiteout_m3_M3Warp_set_axial(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->axial = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Warp_get_radial(whiteout_M3Warp* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Warp*>(self)->radial);
}
void whiteout_m3_M3Warp_set_radial(whiteout_M3Warp* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Warp*>(self)->radial = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3ConvexHullHalfEdge* whiteout_m3_M3ConvexHullHalfEdge_new(void) {
return reinterpret_cast<whiteout_M3ConvexHullHalfEdge*>(new whiteout::m3::ConvexHullHalfEdge());
}
void whiteout_m3_M3ConvexHullHalfEdge_delete(whiteout_M3ConvexHullHalfEdge* self) {
delete reinterpret_cast<whiteout::m3::ConvexHullHalfEdge*>(self);
}
uint8_t whiteout_m3_M3ConvexHullHalfEdge_get_type(const whiteout_M3ConvexHullHalfEdge* self) {
return reinterpret_cast<const whiteout::m3::ConvexHullHalfEdge*>(self)->type;
}
void whiteout_m3_M3ConvexHullHalfEdge_set_type(whiteout_M3ConvexHullHalfEdge* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ConvexHullHalfEdge*>(self)->type = value;
}
uint8_t whiteout_m3_M3ConvexHullHalfEdge_get_faceIndex(const whiteout_M3ConvexHullHalfEdge* self) {
return reinterpret_cast<const whiteout::m3::ConvexHullHalfEdge*>(self)->faceIndex;
}
void whiteout_m3_M3ConvexHullHalfEdge_set_faceIndex(whiteout_M3ConvexHullHalfEdge* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ConvexHullHalfEdge*>(self)->faceIndex = value;
}
uint8_t whiteout_m3_M3ConvexHullHalfEdge_get_vertexIndex(const whiteout_M3ConvexHullHalfEdge* self) {
return reinterpret_cast<const whiteout::m3::ConvexHullHalfEdge*>(self)->vertexIndex;
}
void whiteout_m3_M3ConvexHullHalfEdge_set_vertexIndex(whiteout_M3ConvexHullHalfEdge* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ConvexHullHalfEdge*>(self)->vertexIndex = value;
}
uint8_t whiteout_m3_M3ConvexHullHalfEdge_get_nextAroundVertex(const whiteout_M3ConvexHullHalfEdge* self) {
return reinterpret_cast<const whiteout::m3::ConvexHullHalfEdge*>(self)->nextAroundVertex;
}
void whiteout_m3_M3ConvexHullHalfEdge_set_nextAroundVertex(whiteout_M3ConvexHullHalfEdge* self, uint8_t value) {
reinterpret_cast<whiteout::m3::ConvexHullHalfEdge*>(self)->nextAroundVertex = value;
}
}
extern "C" {
whiteout_M3PhysicsMeshBvhNode* whiteout_m3_M3PhysicsMeshBvhNode_new(void) {
return reinterpret_cast<whiteout_M3PhysicsMeshBvhNode*>(new whiteout::m3::PhysicsMeshBvhNode());
}
void whiteout_m3_M3PhysicsMeshBvhNode_delete(whiteout_M3PhysicsMeshBvhNode* self) {
delete reinterpret_cast<whiteout::m3::PhysicsMeshBvhNode*>(self);
}
}
extern "C" {
whiteout_M3PhysicsMeshTriangle* whiteout_m3_M3PhysicsMeshTriangle_new(void) {
return reinterpret_cast<whiteout_M3PhysicsMeshTriangle*>(new whiteout::m3::PhysicsMeshTriangle());
}
void whiteout_m3_M3PhysicsMeshTriangle_delete(whiteout_M3PhysicsMeshTriangle* self) {
delete reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self);
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_vertexIndex0(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex0;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_vertexIndex0(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex0 = value;
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_vertexIndex1(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex1;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_vertexIndex1(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex1 = value;
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_vertexIndex2(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex2;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_vertexIndex2(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->vertexIndex2 = value;
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_edgeIndex0(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex0;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_edgeIndex0(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex0 = value;
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_edgeIndex1(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex1;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_edgeIndex1(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex1 = value;
}
uint32_t whiteout_m3_M3PhysicsMeshTriangle_get_edgeIndex2(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex2;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_edgeIndex2(whiteout_M3PhysicsMeshTriangle* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->edgeIndex2 = value;
}
uint16_t whiteout_m3_M3PhysicsMeshTriangle_get_reserved(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->reserved;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_reserved(whiteout_M3PhysicsMeshTriangle* self, uint16_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->reserved = value;
}
uint16_t whiteout_m3_M3PhysicsMeshTriangle_get_flags(const whiteout_M3PhysicsMeshTriangle* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshTriangle*>(self)->flags;
}
void whiteout_m3_M3PhysicsMeshTriangle_set_flags(whiteout_M3PhysicsMeshTriangle* self, uint16_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshTriangle*>(self)->flags = value;
}
}
extern "C" {
whiteout_M3PhysicsMeshEdge* whiteout_m3_M3PhysicsMeshEdge_new(void) {
return reinterpret_cast<whiteout_M3PhysicsMeshEdge*>(new whiteout::m3::PhysicsMeshEdge());
}
void whiteout_m3_M3PhysicsMeshEdge_delete(whiteout_M3PhysicsMeshEdge* self) {
delete reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self);
}
uint32_t whiteout_m3_M3PhysicsMeshEdge_get_edgeType(const whiteout_M3PhysicsMeshEdge* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshEdge*>(self)->edgeType;
}
void whiteout_m3_M3PhysicsMeshEdge_set_edgeType(whiteout_M3PhysicsMeshEdge* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self)->edgeType = value;
}
uint32_t whiteout_m3_M3PhysicsMeshEdge_get_vertexA(const whiteout_M3PhysicsMeshEdge* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshEdge*>(self)->vertexA;
}
void whiteout_m3_M3PhysicsMeshEdge_set_vertexA(whiteout_M3PhysicsMeshEdge* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self)->vertexA = value;
}
uint32_t whiteout_m3_M3PhysicsMeshEdge_get_vertexB(const whiteout_M3PhysicsMeshEdge* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshEdge*>(self)->vertexB;
}
void whiteout_m3_M3PhysicsMeshEdge_set_vertexB(whiteout_M3PhysicsMeshEdge* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self)->vertexB = value;
}
uint32_t whiteout_m3_M3PhysicsMeshEdge_get_faceA(const whiteout_M3PhysicsMeshEdge* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshEdge*>(self)->faceA;
}
void whiteout_m3_M3PhysicsMeshEdge_set_faceA(whiteout_M3PhysicsMeshEdge* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self)->faceA = value;
}
uint32_t whiteout_m3_M3PhysicsMeshEdge_get_faceB(const whiteout_M3PhysicsMeshEdge* self) {
return reinterpret_cast<const whiteout::m3::PhysicsMeshEdge*>(self)->faceB;
}
void whiteout_m3_M3PhysicsMeshEdge_set_faceB(whiteout_M3PhysicsMeshEdge* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsMeshEdge*>(self)->faceB = value;
}
}
extern "C" {
whiteout_M3PhysicsShape* whiteout_m3_M3PhysicsShape_new(void) {
return reinterpret_cast<whiteout_M3PhysicsShape*>(new whiteout::m3::PhysicsShape());
}
void whiteout_m3_M3PhysicsShape_delete(whiteout_M3PhysicsShape* self) {
delete reinterpret_cast<whiteout::m3::PhysicsShape*>(self);
}
float whiteout_m3_M3PhysicsShape_get_collisionMargin(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->collisionMargin;
}
void whiteout_m3_M3PhysicsShape_set_collisionMargin(whiteout_M3PhysicsShape* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->collisionMargin = value;
}
int32_t whiteout_m3_M3PhysicsShape_get_shapeType(const whiteout_M3PhysicsShape* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->shapeType);
}
void whiteout_m3_M3PhysicsShape_set_shapeType(whiteout_M3PhysicsShape* self, int32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->shapeType = static_cast<whiteout::m3::PhysicsShapeType>(value);
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_oldSizes(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->oldSizes);
}
void whiteout_m3_M3PhysicsShape_set_oldSizes(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->oldSizes = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_shapeDimensions(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->shapeDimensions);
}
void whiteout_m3_M3PhysicsShape_set_shapeDimensions(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->shapeDimensions = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
size_t whiteout_m3_M3PhysicsShape_get_hullFaceNormals_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullFaceNormals.size();
}
void whiteout_m3_M3PhysicsShape_resize_hullFaceNormals(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullFaceNormals.resize(count);
}
const float* whiteout_m3_M3PhysicsShape_get_hullFaceNormals_data(const whiteout_M3PhysicsShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullFaceNormals;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3PhysicsShape_assign_hullFaceNormals(whiteout_M3PhysicsShape* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullFaceNormals;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
size_t whiteout_m3_M3PhysicsShape_get_hullVertexPositions_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullVertexPositions.size();
}
void whiteout_m3_M3PhysicsShape_resize_hullVertexPositions(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullVertexPositions.resize(count);
}
const float* whiteout_m3_M3PhysicsShape_get_hullVertexPositions_data(const whiteout_M3PhysicsShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullVertexPositions;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3PhysicsShape_assign_hullVertexPositions(whiteout_M3PhysicsShape* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullVertexPositions;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector4f));
}
size_t whiteout_m3_M3PhysicsShape_get_hullHalfEdges_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullHalfEdges.size();
}
void whiteout_m3_M3PhysicsShape_resize_hullHalfEdges(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullHalfEdges.resize(count);
}
whiteout_M3ConvexHullHalfEdge* whiteout_m3_M3PhysicsShape_get_hullHalfEdges_at(whiteout_M3PhysicsShape* self, size_t index) {
return reinterpret_cast<whiteout_M3ConvexHullHalfEdge*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullHalfEdges[index]);
}
size_t whiteout_m3_M3PhysicsShape_get_hullVertexFaceIndices_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullVertexFaceIndices.size();
}
void whiteout_m3_M3PhysicsShape_resize_hullVertexFaceIndices(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullVertexFaceIndices.resize(count);
}
const uint8_t* whiteout_m3_M3PhysicsShape_get_hullVertexFaceIndices_data(const whiteout_M3PhysicsShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullVertexFaceIndices;
return __v.empty() ? nullptr : reinterpret_cast<const uint8_t*>(__v.data());
}
void whiteout_m3_M3PhysicsShape_assign_hullVertexFaceIndices(whiteout_M3PhysicsShape* self, const uint8_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullVertexFaceIndices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u8));
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_hullCenter(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullCenter);
}
void whiteout_m3_M3PhysicsShape_set_hullCenter(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullCenter = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
uint32_t whiteout_m3_M3PhysicsShape_get_hullFaceNormalCount(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullFaceNormalCount;
}
void whiteout_m3_M3PhysicsShape_set_hullFaceNormalCount(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullFaceNormalCount = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_hullVertexCount(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullVertexCount;
}
void whiteout_m3_M3PhysicsShape_set_hullVertexCount(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullVertexCount = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_hullHalfEdgeCount(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullHalfEdgeCount;
}
void whiteout_m3_M3PhysicsShape_set_hullHalfEdgeCount(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullHalfEdgeCount = value;
}
float whiteout_m3_M3PhysicsShape_get_hullUnknown0(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullUnknown0;
}
void whiteout_m3_M3PhysicsShape_set_hullUnknown0(whiteout_M3PhysicsShape* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullUnknown0 = value;
}
float whiteout_m3_M3PhysicsShape_get_hullUnknown1(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->hullUnknown1;
}
void whiteout_m3_M3PhysicsShape_set_hullUnknown1(whiteout_M3PhysicsShape* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->hullUnknown1 = value;
}
size_t whiteout_m3_M3PhysicsShape_get_meshBvhNodes_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshBvhNodes.size();
}
void whiteout_m3_M3PhysicsShape_resize_meshBvhNodes(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBvhNodes.resize(count);
}
whiteout_M3PhysicsMeshBvhNode* whiteout_m3_M3PhysicsShape_get_meshBvhNodes_at(whiteout_M3PhysicsShape* self, size_t index) {
return reinterpret_cast<whiteout_M3PhysicsMeshBvhNode*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBvhNodes[index]);
}
size_t whiteout_m3_M3PhysicsShape_get_meshVertexPositions_count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshVertexPositions.size();
}
void whiteout_m3_M3PhysicsShape_resize_meshVertexPositions(whiteout_M3PhysicsShape* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshVertexPositions.resize(count);
}
const float* whiteout_m3_M3PhysicsShape_get_meshVertexPositions_data(const whiteout_M3PhysicsShape* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshVertexPositions;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3PhysicsShape_assign_meshVertexPositions(whiteout_M3PhysicsShape* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshVertexPositions;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector4f));
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_meshBoundsCenter(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBoundsCenter);
}
void whiteout_m3_M3PhysicsShape_set_meshBoundsCenter(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBoundsCenter = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_meshBoundsExtent(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBoundsExtent);
}
void whiteout_m3_M3PhysicsShape_set_meshBoundsExtent(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshBoundsExtent = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3PhysicsShape_get_meshTolerance(whiteout_M3PhysicsShape* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshTolerance);
}
void whiteout_m3_M3PhysicsShape_set_meshTolerance(whiteout_M3PhysicsShape* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshTolerance = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshNormalCount(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshNormalCount;
}
void whiteout_m3_M3PhysicsShape_set_meshNormalCount(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshNormalCount = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshVertexCount(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshVertexCount;
}
void whiteout_m3_M3PhysicsShape_set_meshVertexCount(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshVertexCount = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshFaceIndex16Count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshFaceIndex16Count;
}
void whiteout_m3_M3PhysicsShape_set_meshFaceIndex16Count(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshFaceIndex16Count = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshFaceIndex32Count(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshFaceIndex32Count;
}
void whiteout_m3_M3PhysicsShape_set_meshFaceIndex32Count(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshFaceIndex32Count = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshUnknown1(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshUnknown1;
}
void whiteout_m3_M3PhysicsShape_set_meshUnknown1(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshUnknown1 = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshReserved(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshReserved;
}
void whiteout_m3_M3PhysicsShape_set_meshReserved(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshReserved = value;
}
uint32_t whiteout_m3_M3PhysicsShape_get_meshTreeDepth(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshTreeDepth;
}
void whiteout_m3_M3PhysicsShape_set_meshTreeDepth(whiteout_M3PhysicsShape* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshTreeDepth = value;
}
float whiteout_m3_M3PhysicsShape_get_meshCollisionMargin(const whiteout_M3PhysicsShape* self) {
return reinterpret_cast<const whiteout::m3::PhysicsShape*>(self)->meshCollisionMargin;
}
void whiteout_m3_M3PhysicsShape_set_meshCollisionMargin(whiteout_M3PhysicsShape* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsShape*>(self)->meshCollisionMargin = value;
}
}
extern "C" {
whiteout_M3RigidBody* whiteout_m3_M3RigidBody_new(void) {
return reinterpret_cast<whiteout_M3RigidBody*>(new whiteout::m3::RigidBody());
}
void whiteout_m3_M3RigidBody_delete(whiteout_M3RigidBody* self) {
delete reinterpret_cast<whiteout::m3::RigidBody*>(self);
}
uint16_t whiteout_m3_M3RigidBody_get_simulationType(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->simulationType;
}
void whiteout_m3_M3RigidBody_set_simulationType(whiteout_M3RigidBody* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->simulationType = value;
}
uint16_t whiteout_m3_M3RigidBody_get_parentBoneIndex(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->parentBoneIndex;
}
void whiteout_m3_M3RigidBody_set_parentBoneIndex(whiteout_M3RigidBody* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->parentBoneIndex = value;
}
uint32_t whiteout_m3_M3RigidBody_get_physicsType(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->physicsType;
}
void whiteout_m3_M3RigidBody_set_physicsType(whiteout_M3RigidBody* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->physicsType = value;
}
float whiteout_m3_M3RigidBody_get_density(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->density;
}
void whiteout_m3_M3RigidBody_set_density(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->density = value;
}
float whiteout_m3_M3RigidBody_get_friction(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->friction;
}
void whiteout_m3_M3RigidBody_set_friction(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->friction = value;
}
float whiteout_m3_M3RigidBody_get_restitution(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->restitution;
}
void whiteout_m3_M3RigidBody_set_restitution(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->restitution = value;
}
float whiteout_m3_M3RigidBody_get_linearDamping(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->linearDamping;
}
void whiteout_m3_M3RigidBody_set_linearDamping(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->linearDamping = value;
}
float whiteout_m3_M3RigidBody_get_angularDamping(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->angularDamping;
}
void whiteout_m3_M3RigidBody_set_angularDamping(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->angularDamping = value;
}
float whiteout_m3_M3RigidBody_get_gravityScale(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->gravityScale;
}
void whiteout_m3_M3RigidBody_set_gravityScale(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->gravityScale = value;
}
whiteout_M3AnimRefU32* whiteout_m3_M3RigidBody_get_dynamicState(whiteout_M3RigidBody* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::RigidBody*>(self)->dynamicState);
}
void whiteout_m3_M3RigidBody_set_dynamicState(whiteout_M3RigidBody* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->dynamicState = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
float whiteout_m3_M3RigidBody_get_dynamicBlendOut(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->dynamicBlendOut;
}
void whiteout_m3_M3RigidBody_set_dynamicBlendOut(whiteout_M3RigidBody* self, float value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->dynamicBlendOut = value;
}
size_t whiteout_m3_M3RigidBody_get_rigidBodyShape_count(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->rigidBodyShape.size();
}
void whiteout_m3_M3RigidBody_resize_rigidBodyShape(whiteout_M3RigidBody* self, size_t count) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->rigidBodyShape.resize(count);
}
whiteout_M3PhysicsShape* whiteout_m3_M3RigidBody_get_rigidBodyShape_at(whiteout_M3RigidBody* self, size_t index) {
return reinterpret_cast<whiteout_M3PhysicsShape*>(&reinterpret_cast<whiteout::m3::RigidBody*>(self)->rigidBodyShape[index]);
}
int32_t whiteout_m3_M3RigidBody_get_flags(const whiteout_M3RigidBody* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::RigidBody*>(self)->flags);
}
void whiteout_m3_M3RigidBody_set_flags(whiteout_M3RigidBody* self, int32_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->flags = static_cast<whiteout::m3::RigidBodyFlag>(value);
}
uint16_t whiteout_m3_M3RigidBody_get_localForces(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->localForces;
}
void whiteout_m3_M3RigidBody_set_localForces(whiteout_M3RigidBody* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->localForces = value;
}
uint16_t whiteout_m3_M3RigidBody_get_worldForces(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->worldForces;
}
void whiteout_m3_M3RigidBody_set_worldForces(whiteout_M3RigidBody* self, uint16_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->worldForces = value;
}
uint32_t whiteout_m3_M3RigidBody_get_priority(const whiteout_M3RigidBody* self) {
return reinterpret_cast<const whiteout::m3::RigidBody*>(self)->priority;
}
void whiteout_m3_M3RigidBody_set_priority(whiteout_M3RigidBody* self, uint32_t value) {
reinterpret_cast<whiteout::m3::RigidBody*>(self)->priority = value;
}
}
extern "C" {
whiteout_M3PhysicsJoint* whiteout_m3_M3PhysicsJoint_new(void) {
return reinterpret_cast<whiteout_M3PhysicsJoint*>(new whiteout::m3::PhysicsJoint());
}
void whiteout_m3_M3PhysicsJoint_delete(whiteout_M3PhysicsJoint* self) {
delete reinterpret_cast<whiteout::m3::PhysicsJoint*>(self);
}
uint32_t whiteout_m3_M3PhysicsJoint_get_jointType(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->jointType;
}
void whiteout_m3_M3PhysicsJoint_set_jointType(whiteout_M3PhysicsJoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->jointType = value;
}
uint32_t whiteout_m3_M3PhysicsJoint_get_boneIndex1(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->boneIndex1;
}
void whiteout_m3_M3PhysicsJoint_set_boneIndex1(whiteout_M3PhysicsJoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->boneIndex1 = value;
}
uint32_t whiteout_m3_M3PhysicsJoint_get_boneIndex2(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->boneIndex2;
}
void whiteout_m3_M3PhysicsJoint_set_boneIndex2(whiteout_M3PhysicsJoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->boneIndex2 = value;
}
uint32_t whiteout_m3_M3PhysicsJoint_get_enableLimits(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->enableLimits;
}
void whiteout_m3_M3PhysicsJoint_set_enableLimits(whiteout_M3PhysicsJoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->enableLimits = value;
}
float whiteout_m3_M3PhysicsJoint_get_limitMin(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->limitMin;
}
void whiteout_m3_M3PhysicsJoint_set_limitMin(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->limitMin = value;
}
float whiteout_m3_M3PhysicsJoint_get_limitMax(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->limitMax;
}
void whiteout_m3_M3PhysicsJoint_set_limitMax(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->limitMax = value;
}
float whiteout_m3_M3PhysicsJoint_get_coneAngle(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->coneAngle;
}
void whiteout_m3_M3PhysicsJoint_set_coneAngle(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->coneAngle = value;
}
uint32_t whiteout_m3_M3PhysicsJoint_get_enableFriction(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->enableFriction;
}
void whiteout_m3_M3PhysicsJoint_set_enableFriction(whiteout_M3PhysicsJoint* self, uint32_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->enableFriction = value;
}
float whiteout_m3_M3PhysicsJoint_get_friction(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->friction;
}
void whiteout_m3_M3PhysicsJoint_set_friction(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->friction = value;
}
float whiteout_m3_M3PhysicsJoint_get_dampingRatio(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->dampingRatio;
}
void whiteout_m3_M3PhysicsJoint_set_dampingRatio(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->dampingRatio = value;
}
float whiteout_m3_M3PhysicsJoint_get_angularFrequency(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->angularFrequency;
}
void whiteout_m3_M3PhysicsJoint_set_angularFrequency(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->angularFrequency = value;
}
float whiteout_m3_M3PhysicsJoint_get_breakThreshold(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->breakThreshold;
}
void whiteout_m3_M3PhysicsJoint_set_breakThreshold(whiteout_M3PhysicsJoint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->breakThreshold = value;
}
uint8_t whiteout_m3_M3PhysicsJoint_get_enableShape(const whiteout_M3PhysicsJoint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsJoint*>(self)->enableShape;
}
void whiteout_m3_M3PhysicsJoint_set_enableShape(whiteout_M3PhysicsJoint* self, uint8_t value) {
reinterpret_cast<whiteout::m3::PhysicsJoint*>(self)->enableShape = value;
}
}
extern "C" {
whiteout_M3PhysicsConstraint* whiteout_m3_M3PhysicsConstraint_new(void) {
return reinterpret_cast<whiteout_M3PhysicsConstraint*>(new whiteout::m3::PhysicsConstraint());
}
void whiteout_m3_M3PhysicsConstraint_delete(whiteout_M3PhysicsConstraint* self) {
delete reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self);
}
size_t whiteout_m3_M3PhysicsConstraint_get_dependents_count(const whiteout_M3PhysicsConstraint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsConstraint*>(self)->dependents.size();
}
void whiteout_m3_M3PhysicsConstraint_resize_dependents(whiteout_M3PhysicsConstraint* self, size_t count) {
reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self)->dependents.resize(count);
}
const uint16_t* whiteout_m3_M3PhysicsConstraint_get_dependents_data(const whiteout_M3PhysicsConstraint* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::PhysicsConstraint*>(self)->dependents;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3PhysicsConstraint_assign_dependents(whiteout_M3PhysicsConstraint* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self)->dependents;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
uint16_t whiteout_m3_M3PhysicsConstraint_get_rigidBody1(const whiteout_M3PhysicsConstraint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsConstraint*>(self)->rigidBody1;
}
void whiteout_m3_M3PhysicsConstraint_set_rigidBody1(whiteout_M3PhysicsConstraint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self)->rigidBody1 = value;
}
uint16_t whiteout_m3_M3PhysicsConstraint_get_rigidBody2(const whiteout_M3PhysicsConstraint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsConstraint*>(self)->rigidBody2;
}
void whiteout_m3_M3PhysicsConstraint_set_rigidBody2(whiteout_M3PhysicsConstraint* self, uint16_t value) {
reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self)->rigidBody2 = value;
}
float whiteout_m3_M3PhysicsConstraint_get_breakForce(const whiteout_M3PhysicsConstraint* self) {
return reinterpret_cast<const whiteout::m3::PhysicsConstraint*>(self)->breakForce;
}
void whiteout_m3_M3PhysicsConstraint_set_breakForce(whiteout_M3PhysicsConstraint* self, float value) {
reinterpret_cast<whiteout::m3::PhysicsConstraint*>(self)->breakForce = value;
}
}
extern "C" {
whiteout_M3ClothCollider* whiteout_m3_M3ClothCollider_new(void) {
return reinterpret_cast<whiteout_M3ClothCollider*>(new whiteout::m3::ClothCollider());
}
void whiteout_m3_M3ClothCollider_delete(whiteout_M3ClothCollider* self) {
delete reinterpret_cast<whiteout::m3::ClothCollider*>(self);
}
float whiteout_m3_M3ClothCollider_get_radius(const whiteout_M3ClothCollider* self) {
return reinterpret_cast<const whiteout::m3::ClothCollider*>(self)->radius;
}
void whiteout_m3_M3ClothCollider_set_radius(whiteout_M3ClothCollider* self, float value) {
reinterpret_cast<whiteout::m3::ClothCollider*>(self)->radius = value;
}
float whiteout_m3_M3ClothCollider_get_height(const whiteout_M3ClothCollider* self) {
return reinterpret_cast<const whiteout::m3::ClothCollider*>(self)->height;
}
void whiteout_m3_M3ClothCollider_set_height(whiteout_M3ClothCollider* self, float value) {
reinterpret_cast<whiteout::m3::ClothCollider*>(self)->height = value;
}
uint32_t whiteout_m3_M3ClothCollider_get_padding(const whiteout_M3ClothCollider* self) {
return reinterpret_cast<const whiteout::m3::ClothCollider*>(self)->padding;
}
void whiteout_m3_M3ClothCollider_set_padding(whiteout_M3ClothCollider* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothCollider*>(self)->padding = value;
}
}
extern "C" {
whiteout_M3ClothProxy* whiteout_m3_M3ClothProxy_new(void) {
return reinterpret_cast<whiteout_M3ClothProxy*>(new whiteout::m3::ClothProxy());
}
void whiteout_m3_M3ClothProxy_delete(whiteout_M3ClothProxy* self) {
delete reinterpret_cast<whiteout::m3::ClothProxy*>(self);
}
uint32_t whiteout_m3_M3ClothProxy_get_proxyIndex(const whiteout_M3ClothProxy* self) {
return reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->proxyIndex;
}
void whiteout_m3_M3ClothProxy_set_proxyIndex(whiteout_M3ClothProxy* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothProxy*>(self)->proxyIndex = value;
}
uint32_t whiteout_m3_M3ClothProxy_get_clothIndex(const whiteout_M3ClothProxy* self) {
return reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->clothIndex;
}
void whiteout_m3_M3ClothProxy_set_clothIndex(whiteout_M3ClothProxy* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothProxy*>(self)->clothIndex = value;
}
size_t whiteout_m3_M3ClothProxy_get_proxyVertices_count(const whiteout_M3ClothProxy* self) {
return reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->proxyVertices.size();
}
void whiteout_m3_M3ClothProxy_resize_proxyVertices(whiteout_M3ClothProxy* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothProxy*>(self)->proxyVertices.resize(count);
}
const uint64_t* whiteout_m3_M3ClothProxy_get_proxyVertices_data(const whiteout_M3ClothProxy* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->proxyVertices;
return __v.empty() ? nullptr : reinterpret_cast<const uint64_t*>(__v.data());
}
void whiteout_m3_M3ClothProxy_assign_proxyVertices(whiteout_M3ClothProxy* self, const uint64_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothProxy*>(self)->proxyVertices;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u64));
}
size_t whiteout_m3_M3ClothProxy_get_proxyWeights_count(const whiteout_M3ClothProxy* self) {
return reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->proxyWeights.size();
}
void whiteout_m3_M3ClothProxy_resize_proxyWeights(whiteout_M3ClothProxy* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothProxy*>(self)->proxyWeights.resize(count);
}
const uint32_t* whiteout_m3_M3ClothProxy_get_proxyWeights_data(const whiteout_M3ClothProxy* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothProxy*>(self)->proxyWeights;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3ClothProxy_assign_proxyWeights(whiteout_M3ClothProxy* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothProxy*>(self)->proxyWeights;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
}
extern "C" {
whiteout_M3ClothPhysics* whiteout_m3_M3ClothPhysics_new(void) {
return reinterpret_cast<whiteout_M3ClothPhysics*>(new whiteout::m3::ClothPhysics());
}
void whiteout_m3_M3ClothPhysics_delete(whiteout_M3ClothPhysics* self) {
delete reinterpret_cast<whiteout::m3::ClothPhysics*>(self);
}
uint32_t whiteout_m3_M3ClothPhysics_get_clothMeshCount(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->clothMeshCount;
}
void whiteout_m3_M3ClothPhysics_set_clothMeshCount(whiteout_M3ClothPhysics* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->clothMeshCount = value;
}
uint32_t whiteout_m3_M3ClothPhysics_get_skinBoneCount(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinBoneCount;
}
void whiteout_m3_M3ClothPhysics_set_skinBoneCount(whiteout_M3ClothPhysics* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinBoneCount = value;
}
size_t whiteout_m3_M3ClothPhysics_get_skinBones_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinBones.size();
}
void whiteout_m3_M3ClothPhysics_resize_skinBones(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinBones.resize(count);
}
const uint16_t* whiteout_m3_M3ClothPhysics_get_skinBones_data(const whiteout_M3ClothPhysics* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinBones;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3ClothPhysics_assign_skinBones(whiteout_M3ClothPhysics* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinBones;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3ClothPhysics_get_simEnabled_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->simEnabled.size();
}
void whiteout_m3_M3ClothPhysics_resize_simEnabled(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->simEnabled.resize(count);
}
const uint8_t* whiteout_m3_M3ClothPhysics_get_simEnabled_data(const whiteout_M3ClothPhysics* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->simEnabled;
return __v.empty() ? nullptr : reinterpret_cast<const uint8_t*>(__v.data());
}
void whiteout_m3_M3ClothPhysics_assign_simEnabled(whiteout_M3ClothPhysics* self, const uint8_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->simEnabled;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u8));
}
size_t whiteout_m3_M3ClothPhysics_get_vertexBones_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->vertexBones.size();
}
void whiteout_m3_M3ClothPhysics_resize_vertexBones(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->vertexBones.resize(count);
}
const uint32_t* whiteout_m3_M3ClothPhysics_get_vertexBones_data(const whiteout_M3ClothPhysics* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->vertexBones;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3ClothPhysics_assign_vertexBones(whiteout_M3ClothPhysics* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->vertexBones;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
size_t whiteout_m3_M3ClothPhysics_get_vertexWeights_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->vertexWeights.size();
}
void whiteout_m3_M3ClothPhysics_resize_vertexWeights(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->vertexWeights.resize(count);
}
const uint32_t* whiteout_m3_M3ClothPhysics_get_vertexWeights_data(const whiteout_M3ClothPhysics* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->vertexWeights;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3ClothPhysics_assign_vertexWeights(whiteout_M3ClothPhysics* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->vertexWeights;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
size_t whiteout_m3_M3ClothPhysics_get_colliders_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->colliders.size();
}
void whiteout_m3_M3ClothPhysics_resize_colliders(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->colliders.resize(count);
}
whiteout_M3ClothCollider* whiteout_m3_M3ClothPhysics_get_colliders_at(whiteout_M3ClothPhysics* self, size_t index) {
return reinterpret_cast<whiteout_M3ClothCollider*>(&reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->colliders[index]);
}
size_t whiteout_m3_M3ClothPhysics_get_proxies_count(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->proxies.size();
}
void whiteout_m3_M3ClothPhysics_resize_proxies(whiteout_M3ClothPhysics* self, size_t count) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->proxies.resize(count);
}
whiteout_M3ClothProxy* whiteout_m3_M3ClothPhysics_get_proxies_at(whiteout_M3ClothPhysics* self, size_t index) {
return reinterpret_cast<whiteout_M3ClothProxy*>(&reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->proxies[index]);
}
float whiteout_m3_M3ClothPhysics_get_density(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->density;
}
void whiteout_m3_M3ClothPhysics_set_density(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->density = value;
}
float whiteout_m3_M3ClothPhysics_get_tracking(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->tracking;
}
void whiteout_m3_M3ClothPhysics_set_tracking(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->tracking = value;
}
float whiteout_m3_M3ClothPhysics_get_stretchStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->stretchStiffness;
}
void whiteout_m3_M3ClothPhysics_set_stretchStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->stretchStiffness = value;
}
float whiteout_m3_M3ClothPhysics_get_horizontalStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->horizontalStiffness;
}
void whiteout_m3_M3ClothPhysics_set_horizontalStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->horizontalStiffness = value;
}
float whiteout_m3_M3ClothPhysics_get_bendingStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->bendingStiffness;
}
void whiteout_m3_M3ClothPhysics_set_bendingStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->bendingStiffness = value;
}
float whiteout_m3_M3ClothPhysics_get_damping(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->damping;
}
void whiteout_m3_M3ClothPhysics_set_damping(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->damping = value;
}
float whiteout_m3_M3ClothPhysics_get_friction(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->friction;
}
void whiteout_m3_M3ClothPhysics_set_friction(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->friction = value;
}
float whiteout_m3_M3ClothPhysics_get_gravity(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->gravity;
}
void whiteout_m3_M3ClothPhysics_set_gravity(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->gravity = value;
}
float whiteout_m3_M3ClothPhysics_get_explosionScale(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->explosionScale;
}
void whiteout_m3_M3ClothPhysics_set_explosionScale(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->explosionScale = value;
}
float whiteout_m3_M3ClothPhysics_get_windScale(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->windScale;
}
void whiteout_m3_M3ClothPhysics_set_windScale(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->windScale = value;
}
float whiteout_m3_M3ClothPhysics_get_shearStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->shearStiffness;
}
void whiteout_m3_M3ClothPhysics_set_shearStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->shearStiffness = value;
}
float whiteout_m3_M3ClothPhysics_get_dragFactor(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->dragFactor;
}
void whiteout_m3_M3ClothPhysics_set_dragFactor(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->dragFactor = value;
}
float whiteout_m3_M3ClothPhysics_get_liftFactor(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->liftFactor;
}
void whiteout_m3_M3ClothPhysics_set_liftFactor(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->liftFactor = value;
}
float whiteout_m3_M3ClothPhysics_get_sphereStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->sphereStiffness;
}
void whiteout_m3_M3ClothPhysics_set_sphereStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->sphereStiffness = value;
}
uint32_t whiteout_m3_M3ClothPhysics_get_flatten(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->flatten;
}
void whiteout_m3_M3ClothPhysics_set_flatten(whiteout_M3ClothPhysics* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->flatten = value;
}
whiteout_M3AnimRefU32* whiteout_m3_M3ClothPhysics_get_active(whiteout_M3ClothPhysics* self) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(&reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->active);
}
void whiteout_m3_M3ClothPhysics_set_active(whiteout_M3ClothPhysics* self, const whiteout_M3AnimRefU32* value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->active = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(value);
}
uint32_t whiteout_m3_M3ClothPhysics_get_useSkinCollision(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->useSkinCollision;
}
void whiteout_m3_M3ClothPhysics_set_useSkinCollision(whiteout_M3ClothPhysics* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->useSkinCollision = value;
}
float whiteout_m3_M3ClothPhysics_get_skinOffset(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinOffset;
}
void whiteout_m3_M3ClothPhysics_set_skinOffset(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinOffset = value;
}
float whiteout_m3_M3ClothPhysics_get_skinExponent(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinExponent;
}
void whiteout_m3_M3ClothPhysics_set_skinExponent(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinExponent = value;
}
float whiteout_m3_M3ClothPhysics_get_skinStiffness(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->skinStiffness;
}
void whiteout_m3_M3ClothPhysics_set_skinStiffness(whiteout_M3ClothPhysics* self, float value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->skinStiffness = value;
}
uint32_t whiteout_m3_M3ClothPhysics_get_localChannels(const whiteout_M3ClothPhysics* self) {
return reinterpret_cast<const whiteout::m3::ClothPhysics*>(self)->localChannels;
}
void whiteout_m3_M3ClothPhysics_set_localChannels(whiteout_M3ClothPhysics* self, uint32_t value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->localChannels = value;
}
whiteout_Vector3f* whiteout_m3_M3ClothPhysics_get_localWind(whiteout_M3ClothPhysics* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->localWind);
}
void whiteout_m3_M3ClothPhysics_set_localWind(whiteout_M3ClothPhysics* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::ClothPhysics*>(self)->localWind = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
}
extern "C" {
whiteout_M3Light* whiteout_m3_M3Light_new(void) {
return reinterpret_cast<whiteout_M3Light*>(new whiteout::m3::Light());
}
void whiteout_m3_M3Light_delete(whiteout_M3Light* self) {
delete reinterpret_cast<whiteout::m3::Light*>(self);
}
int32_t whiteout_m3_M3Light_get_lightType(const whiteout_M3Light* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Light*>(self)->lightType);
}
void whiteout_m3_M3Light_set_lightType(whiteout_M3Light* self, int32_t value) {
reinterpret_cast<whiteout::m3::Light*>(self)->lightType = static_cast<whiteout::m3::LightType>(value);
}
uint16_t whiteout_m3_M3Light_get_boneIndex(const whiteout_M3Light* self) {
return reinterpret_cast<const whiteout::m3::Light*>(self)->boneIndex;
}
void whiteout_m3_M3Light_set_boneIndex(whiteout_M3Light* self, uint16_t value) {
reinterpret_cast<whiteout::m3::Light*>(self)->boneIndex = value;
}
int32_t whiteout_m3_M3Light_get_flags(const whiteout_M3Light* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Light*>(self)->flags);
}
void whiteout_m3_M3Light_set_flags(whiteout_M3Light* self, int32_t value) {
reinterpret_cast<whiteout::m3::Light*>(self)->flags = static_cast<whiteout::m3::LightFlag>(value);
}
uint32_t whiteout_m3_M3Light_get_lodCut(const whiteout_M3Light* self) {
return reinterpret_cast<const whiteout::m3::Light*>(self)->lodCut;
}
void whiteout_m3_M3Light_set_lodCut(whiteout_M3Light* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Light*>(self)->lodCut = value;
}
uint32_t whiteout_m3_M3Light_get_shadowLodCut(const whiteout_M3Light* self) {
return reinterpret_cast<const whiteout::m3::Light*>(self)->shadowLodCut;
}
void whiteout_m3_M3Light_set_shadowLodCut(whiteout_M3Light* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Light*>(self)->shadowLodCut = value;
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3Light_get_diffuseColor(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::Light*>(self)->diffuseColor);
}
void whiteout_m3_M3Light_set_diffuseColor(whiteout_M3Light* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->diffuseColor = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_intensityMultiplier(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->intensityMultiplier);
}
void whiteout_m3_M3Light_set_intensityMultiplier(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->intensityMultiplier = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefVector3f* whiteout_m3_M3Light_get_specularColor(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(&reinterpret_cast<whiteout::m3::Light*>(self)->specularColor);
}
void whiteout_m3_M3Light_set_specularColor(whiteout_M3Light* self, const whiteout_M3AnimRefVector3f* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->specularColor = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_specularMultiplier(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->specularMultiplier);
}
void whiteout_m3_M3Light_set_specularMultiplier(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->specularMultiplier = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_decay(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->decay);
}
void whiteout_m3_M3Light_set_decay(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->decay = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
float whiteout_m3_M3Light_get_attenuationEnd(const whiteout_M3Light* self) {
return reinterpret_cast<const whiteout::m3::Light*>(self)->attenuationEnd;
}
void whiteout_m3_M3Light_set_attenuationEnd(whiteout_M3Light* self, float value) {
reinterpret_cast<whiteout::m3::Light*>(self)->attenuationEnd = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_attenuationStart(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->attenuationStart);
}
void whiteout_m3_M3Light_set_attenuationStart(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->attenuationStart = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_hotSpot(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->hotSpot);
}
void whiteout_m3_M3Light_set_hotSpot(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->hotSpot = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Light_get_falloff(whiteout_M3Light* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Light*>(self)->falloff);
}
void whiteout_m3_M3Light_set_falloff(whiteout_M3Light* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Light*>(self)->falloff = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3Camera* whiteout_m3_M3Camera_new(void) {
return reinterpret_cast<whiteout_M3Camera*>(new whiteout::m3::Camera());
}
void whiteout_m3_M3Camera_delete(whiteout_M3Camera* self) {
delete reinterpret_cast<whiteout::m3::Camera*>(self);
}
uint32_t whiteout_m3_M3Camera_get_boneIndex(const whiteout_M3Camera* self) {
return reinterpret_cast<const whiteout::m3::Camera*>(self)->boneIndex;
}
void whiteout_m3_M3Camera_set_boneIndex(whiteout_M3Camera* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->boneIndex = value;
}
whiteout_CString whiteout_m3_M3Camera_get_name(const whiteout_M3Camera* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Camera*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Camera_set_name(whiteout_M3Camera* self, const char* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->name = (value ? value : "");
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_fieldOfView(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->fieldOfView);
}
void whiteout_m3_M3Camera_set_fieldOfView(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->fieldOfView = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
uint32_t whiteout_m3_M3Camera_get_useVerticalFOV(const whiteout_M3Camera* self) {
return reinterpret_cast<const whiteout::m3::Camera*>(self)->useVerticalFOV;
}
void whiteout_m3_M3Camera_set_useVerticalFOV(whiteout_M3Camera* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->useVerticalFOV = value;
}
uint32_t whiteout_m3_M3Camera_get_dofType(const whiteout_M3Camera* self) {
return reinterpret_cast<const whiteout::m3::Camera*>(self)->dofType;
}
void whiteout_m3_M3Camera_set_dofType(whiteout_M3Camera* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->dofType = value;
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_farClip(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->farClip);
}
void whiteout_m3_M3Camera_set_farClip(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->farClip = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_nearClip(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->nearClip);
}
void whiteout_m3_M3Camera_set_nearClip(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->nearClip = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_shadowClipDistance(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->shadowClipDistance);
}
void whiteout_m3_M3Camera_set_shadowClipDistance(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->shadowClipDistance = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_focusDistance(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->focusDistance);
}
void whiteout_m3_M3Camera_set_focusDistance(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->focusDistance = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_farFocusRange(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->farFocusRange);
}
void whiteout_m3_M3Camera_set_farFocusRange(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->farFocusRange = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_nearFocusRange(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->nearFocusRange);
}
void whiteout_m3_M3Camera_set_nearFocusRange(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->nearFocusRange = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_nearFalloffStart(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->nearFalloffStart);
}
void whiteout_m3_M3Camera_set_nearFalloffStart(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->nearFalloffStart = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_nearFalloffEnd(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->nearFalloffEnd);
}
void whiteout_m3_M3Camera_set_nearFalloffEnd(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->nearFalloffEnd = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_dofAmount(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->dofAmount);
}
void whiteout_m3_M3Camera_set_dofAmount(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->dofAmount = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_bokehFStop(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->bokehFStop);
}
void whiteout_m3_M3Camera_set_bokehFStop(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->bokehFStop = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
whiteout_M3AnimRefF32* whiteout_m3_M3Camera_get_bokehMaxCoCDiameter(whiteout_M3Camera* self) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(&reinterpret_cast<whiteout::m3::Camera*>(self)->bokehMaxCoCDiameter);
}
void whiteout_m3_M3Camera_set_bokehMaxCoCDiameter(whiteout_M3Camera* self, const whiteout_M3AnimRefF32* value) {
reinterpret_cast<whiteout::m3::Camera*>(self)->bokehMaxCoCDiameter = *reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(value);
}
}
extern "C" {
whiteout_M3Model* whiteout_m3_M3Model_new(void) {
return reinterpret_cast<whiteout_M3Model*>(new whiteout::m3::Model());
}
void whiteout_m3_M3Model_delete(whiteout_M3Model* self) {
delete reinterpret_cast<whiteout::m3::Model*>(self);
}
whiteout_CString whiteout_m3_M3Model_get_name(const whiteout_M3Model* self) {
auto* __owned = new std::string(reinterpret_cast<const whiteout::m3::Model*>(self)->name);
return whiteout_CString{ __owned->c_str(), __owned->size(), __owned };
}
void whiteout_m3_M3Model_set_name(whiteout_M3Model* self, const char* value) {
reinterpret_cast<whiteout::m3::Model*>(self)->name = (value ? value : "");
}
int32_t whiteout_m3_M3Model_get_flags(const whiteout_M3Model* self) {
return static_cast<int32_t>(reinterpret_cast<const whiteout::m3::Model*>(self)->flags);
}
void whiteout_m3_M3Model_set_flags(whiteout_M3Model* self, int32_t value) {
reinterpret_cast<whiteout::m3::Model*>(self)->flags = static_cast<whiteout::m3::ModelFlag>(value);
}
size_t whiteout_m3_M3Model_get_sequences_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->sequences.size();
}
void whiteout_m3_M3Model_resize_sequences(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->sequences.resize(count);
}
whiteout_M3Sequence* whiteout_m3_M3Model_get_sequences_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Sequence*>(&reinterpret_cast<whiteout::m3::Model*>(self)->sequences[index]);
}
size_t whiteout_m3_M3Model_get_subTrackCollections_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->subTrackCollections.size();
}
void whiteout_m3_M3Model_resize_subTrackCollections(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->subTrackCollections.resize(count);
}
whiteout_M3SubTrackContainer* whiteout_m3_M3Model_get_subTrackCollections_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3SubTrackContainer*>(&reinterpret_cast<whiteout::m3::Model*>(self)->subTrackCollections[index]);
}
size_t whiteout_m3_M3Model_get_animationGroups_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->animationGroups.size();
}
void whiteout_m3_M3Model_resize_animationGroups(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->animationGroups.resize(count);
}
whiteout_M3AnimationGroup* whiteout_m3_M3Model_get_animationGroups_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3AnimationGroup*>(&reinterpret_cast<whiteout::m3::Model*>(self)->animationGroups[index]);
}
size_t whiteout_m3_M3Model_get_boneAnimationSets_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->boneAnimationSets.size();
}
void whiteout_m3_M3Model_resize_boneAnimationSets(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->boneAnimationSets.resize(count);
}
whiteout_M3BoneAnimationSet* whiteout_m3_M3Model_get_boneAnimationSets_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3BoneAnimationSet*>(&reinterpret_cast<whiteout::m3::Model*>(self)->boneAnimationSets[index]);
}
uint32_t whiteout_m3_M3Model_get_animationSplitCount(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->animationSplitCount;
}
void whiteout_m3_M3Model_set_animationSplitCount(whiteout_M3Model* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Model*>(self)->animationSplitCount = value;
}
size_t whiteout_m3_M3Model_get_animationStates_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->animationStates.size();
}
void whiteout_m3_M3Model_resize_animationStates(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->animationStates.resize(count);
}
whiteout_M3AnimationState* whiteout_m3_M3Model_get_animationStates_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3AnimationState*>(&reinterpret_cast<whiteout::m3::Model*>(self)->animationStates[index]);
}
size_t whiteout_m3_M3Model_get_bones_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->bones.size();
}
void whiteout_m3_M3Model_resize_bones(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->bones.resize(count);
}
whiteout_M3Bone* whiteout_m3_M3Model_get_bones_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Bone*>(&reinterpret_cast<whiteout::m3::Model*>(self)->bones[index]);
}
uint32_t whiteout_m3_M3Model_get_skinBoneCount(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->skinBoneCount;
}
void whiteout_m3_M3Model_set_skinBoneCount(whiteout_M3Model* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Model*>(self)->skinBoneCount = value;
}
size_t whiteout_m3_M3Model_get_divisions_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->divisions.size();
}
void whiteout_m3_M3Model_resize_divisions(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->divisions.resize(count);
}
whiteout_M3MeshDivision* whiteout_m3_M3Model_get_divisions_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3MeshDivision*>(&reinterpret_cast<whiteout::m3::Model*>(self)->divisions[index]);
}
size_t whiteout_m3_M3Model_get_boneLookup_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->boneLookup.size();
}
void whiteout_m3_M3Model_resize_boneLookup(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->boneLookup.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_boneLookup_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->boneLookup;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_boneLookup(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->boneLookup;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
whiteout_M3Extent* whiteout_m3_M3Model_get_bounds(whiteout_M3Model* self) {
return reinterpret_cast<whiteout_M3Extent*>(&reinterpret_cast<whiteout::m3::Model*>(self)->bounds);
}
void whiteout_m3_M3Model_set_bounds(whiteout_M3Model* self, const whiteout_M3Extent* value) {
reinterpret_cast<whiteout::m3::Model*>(self)->bounds = *reinterpret_cast<const whiteout::m3::Extent*>(value);
}
whiteout_M3Extent* whiteout_m3_M3Model_get_collisionBounds(whiteout_M3Model* self) {
return reinterpret_cast<whiteout_M3Extent*>(&reinterpret_cast<whiteout::m3::Model*>(self)->collisionBounds);
}
void whiteout_m3_M3Model_set_collisionBounds(whiteout_M3Model* self, const whiteout_M3Extent* value) {
reinterpret_cast<whiteout::m3::Model*>(self)->collisionBounds = *reinterpret_cast<const whiteout::m3::Extent*>(value);
}
size_t whiteout_m3_M3Model_get_collisionFaces_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->collisionFaces.size();
}
void whiteout_m3_M3Model_resize_collisionFaces(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->collisionFaces.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_collisionFaces_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->collisionFaces;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_collisionFaces(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->collisionFaces;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3Model_get_collisionVerts_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->collisionVerts.size();
}
void whiteout_m3_M3Model_resize_collisionVerts(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->collisionVerts.resize(count);
}
const float* whiteout_m3_M3Model_get_collisionVerts_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->collisionVerts;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3Model_assign_collisionVerts(whiteout_M3Model* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->collisionVerts;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
size_t whiteout_m3_M3Model_get_collisionNormals_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->collisionNormals.size();
}
void whiteout_m3_M3Model_resize_collisionNormals(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->collisionNormals.resize(count);
}
const float* whiteout_m3_M3Model_get_collisionNormals_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->collisionNormals;
return __v.empty() ? nullptr : reinterpret_cast<const float*>(__v.data());
}
void whiteout_m3_M3Model_assign_collisionNormals(whiteout_M3Model* self, const float* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->collisionNormals;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::Vector3f));
}
size_t whiteout_m3_M3Model_get_attachmentPoints_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentPoints.size();
}
void whiteout_m3_M3Model_resize_attachmentPoints(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->attachmentPoints.resize(count);
}
whiteout_M3AttachmentPoint* whiteout_m3_M3Model_get_attachmentPoints_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3AttachmentPoint*>(&reinterpret_cast<whiteout::m3::Model*>(self)->attachmentPoints[index]);
}
size_t whiteout_m3_M3Model_get_attachmentPointAddons_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentPointAddons.size();
}
void whiteout_m3_M3Model_resize_attachmentPointAddons(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->attachmentPointAddons.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_attachmentPointAddons_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentPointAddons;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_attachmentPointAddons(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->attachmentPointAddons;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3Model_get_lights_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->lights.size();
}
void whiteout_m3_M3Model_resize_lights(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->lights.resize(count);
}
whiteout_M3Light* whiteout_m3_M3Model_get_lights_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Light*>(&reinterpret_cast<whiteout::m3::Model*>(self)->lights[index]);
}
size_t whiteout_m3_M3Model_get_shadowBoxes_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->shadowBoxes.size();
}
void whiteout_m3_M3Model_resize_shadowBoxes(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->shadowBoxes.resize(count);
}
whiteout_M3ShadowBox* whiteout_m3_M3Model_get_shadowBoxes_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ShadowBox*>(&reinterpret_cast<whiteout::m3::Model*>(self)->shadowBoxes[index]);
}
size_t whiteout_m3_M3Model_get_cameras_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->cameras.size();
}
void whiteout_m3_M3Model_resize_cameras(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->cameras.resize(count);
}
whiteout_M3Camera* whiteout_m3_M3Model_get_cameras_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Camera*>(&reinterpret_cast<whiteout::m3::Model*>(self)->cameras[index]);
}
size_t whiteout_m3_M3Model_get_camerasAddons_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->camerasAddons.size();
}
void whiteout_m3_M3Model_resize_camerasAddons(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->camerasAddons.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_camerasAddons_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->camerasAddons;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_camerasAddons(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->camerasAddons;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3Model_get_materialMaps_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->materialMaps.size();
}
void whiteout_m3_M3Model_resize_materialMaps(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->materialMaps.resize(count);
}
whiteout_M3MaterialMap* whiteout_m3_M3Model_get_materialMaps_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3MaterialMap*>(&reinterpret_cast<whiteout::m3::Model*>(self)->materialMaps[index]);
}
size_t whiteout_m3_M3Model_get_standardMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->standardMaterials.size();
}
void whiteout_m3_M3Model_resize_standardMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->standardMaterials.resize(count);
}
whiteout_M3StandardMaterial* whiteout_m3_M3Model_get_standardMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3StandardMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->standardMaterials[index]);
}
size_t whiteout_m3_M3Model_get_displacementMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->displacementMaterials.size();
}
void whiteout_m3_M3Model_resize_displacementMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->displacementMaterials.resize(count);
}
whiteout_M3DisplacementMaterial* whiteout_m3_M3Model_get_displacementMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3DisplacementMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->displacementMaterials[index]);
}
size_t whiteout_m3_M3Model_get_compositeMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->compositeMaterials.size();
}
void whiteout_m3_M3Model_resize_compositeMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->compositeMaterials.resize(count);
}
whiteout_M3CompositeMaterial* whiteout_m3_M3Model_get_compositeMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3CompositeMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->compositeMaterials[index]);
}
size_t whiteout_m3_M3Model_get_terrainMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->terrainMaterials.size();
}
void whiteout_m3_M3Model_resize_terrainMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->terrainMaterials.resize(count);
}
whiteout_M3TerrainMaterial* whiteout_m3_M3Model_get_terrainMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3TerrainMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->terrainMaterials[index]);
}
size_t whiteout_m3_M3Model_get_volumeMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->volumeMaterials.size();
}
void whiteout_m3_M3Model_resize_volumeMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->volumeMaterials.resize(count);
}
whiteout_M3VolumeMaterial* whiteout_m3_M3Model_get_volumeMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3VolumeMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->volumeMaterials[index]);
}
size_t whiteout_m3_M3Model_get_hairMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->hairMaterials.size();
}
void whiteout_m3_M3Model_resize_hairMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->hairMaterials.resize(count);
}
whiteout_M3HairMaterial* whiteout_m3_M3Model_get_hairMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3HairMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->hairMaterials[index]);
}
size_t whiteout_m3_M3Model_get_creepMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->creepMaterials.size();
}
void whiteout_m3_M3Model_resize_creepMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->creepMaterials.resize(count);
}
whiteout_M3CreepMaterial* whiteout_m3_M3Model_get_creepMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3CreepMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->creepMaterials[index]);
}
size_t whiteout_m3_M3Model_get_volumeNoiseMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->volumeNoiseMaterials.size();
}
void whiteout_m3_M3Model_resize_volumeNoiseMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->volumeNoiseMaterials.resize(count);
}
whiteout_M3VolumeNoiseMaterial* whiteout_m3_M3Model_get_volumeNoiseMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3VolumeNoiseMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->volumeNoiseMaterials[index]);
}
size_t whiteout_m3_M3Model_get_stbMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->stbMaterials.size();
}
void whiteout_m3_M3Model_resize_stbMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->stbMaterials.resize(count);
}
whiteout_M3STBMaterial* whiteout_m3_M3Model_get_stbMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3STBMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->stbMaterials[index]);
}
size_t whiteout_m3_M3Model_get_reflectionMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->reflectionMaterials.size();
}
void whiteout_m3_M3Model_resize_reflectionMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->reflectionMaterials.resize(count);
}
whiteout_M3ReflectionMaterial* whiteout_m3_M3Model_get_reflectionMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ReflectionMaterial*>(&reinterpret_cast<whiteout::m3::Model*>(self)->reflectionMaterials[index]);
}
size_t whiteout_m3_M3Model_get_lensFlareMaterials_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->lensFlareMaterials.size();
}
void whiteout_m3_M3Model_resize_lensFlareMaterials(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->lensFlareMaterials.resize(count);
}
whiteout_M3LensFlare* whiteout_m3_M3Model_get_lensFlareMaterials_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3LensFlare*>(&reinterpret_cast<whiteout::m3::Model*>(self)->lensFlareMaterials[index]);
}
size_t whiteout_m3_M3Model_get_materialAddData_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->materialAddData.size();
}
void whiteout_m3_M3Model_resize_materialAddData(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->materialAddData.resize(count);
}
whiteout_M3MaterialAddData* whiteout_m3_M3Model_get_materialAddData_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3MaterialAddData*>(&reinterpret_cast<whiteout::m3::Model*>(self)->materialAddData[index]);
}
size_t whiteout_m3_M3Model_get_particleEmitters_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->particleEmitters.size();
}
void whiteout_m3_M3Model_resize_particleEmitters(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->particleEmitters.resize(count);
}
whiteout_M3ParticleEmitter* whiteout_m3_M3Model_get_particleEmitters_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ParticleEmitter*>(&reinterpret_cast<whiteout::m3::Model*>(self)->particleEmitters[index]);
}
size_t whiteout_m3_M3Model_get_particleEmitterCopies_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->particleEmitterCopies.size();
}
void whiteout_m3_M3Model_resize_particleEmitterCopies(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->particleEmitterCopies.resize(count);
}
whiteout_M3ParticleEmitterCopy* whiteout_m3_M3Model_get_particleEmitterCopies_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ParticleEmitterCopy*>(&reinterpret_cast<whiteout::m3::Model*>(self)->particleEmitterCopies[index]);
}
size_t whiteout_m3_M3Model_get_ribbonEmitters_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->ribbonEmitters.size();
}
void whiteout_m3_M3Model_resize_ribbonEmitters(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->ribbonEmitters.resize(count);
}
whiteout_M3RibbonEmitter* whiteout_m3_M3Model_get_ribbonEmitters_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3RibbonEmitter*>(&reinterpret_cast<whiteout::m3::Model*>(self)->ribbonEmitters[index]);
}
size_t whiteout_m3_M3Model_get_projections_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->projections.size();
}
void whiteout_m3_M3Model_resize_projections(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->projections.resize(count);
}
whiteout_M3Projector* whiteout_m3_M3Model_get_projections_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Projector*>(&reinterpret_cast<whiteout::m3::Model*>(self)->projections[index]);
}
size_t whiteout_m3_M3Model_get_forces_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->forces.size();
}
void whiteout_m3_M3Model_resize_forces(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->forces.resize(count);
}
whiteout_M3Force* whiteout_m3_M3Model_get_forces_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Force*>(&reinterpret_cast<whiteout::m3::Model*>(self)->forces[index]);
}
size_t whiteout_m3_M3Model_get_warps_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->warps.size();
}
void whiteout_m3_M3Model_resize_warps(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->warps.resize(count);
}
whiteout_M3Warp* whiteout_m3_M3Model_get_warps_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3Warp*>(&reinterpret_cast<whiteout::m3::Model*>(self)->warps[index]);
}
size_t whiteout_m3_M3Model_get_viewVolumes_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->viewVolumes.size();
}
void whiteout_m3_M3Model_resize_viewVolumes(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->viewVolumes.resize(count);
}
whiteout_M3ViewVolume* whiteout_m3_M3Model_get_viewVolumes_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ViewVolume*>(&reinterpret_cast<whiteout::m3::Model*>(self)->viewVolumes[index]);
}
size_t whiteout_m3_M3Model_get_rigidBodies_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->rigidBodies.size();
}
void whiteout_m3_M3Model_resize_rigidBodies(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->rigidBodies.resize(count);
}
whiteout_M3RigidBody* whiteout_m3_M3Model_get_rigidBodies_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3RigidBody*>(&reinterpret_cast<whiteout::m3::Model*>(self)->rigidBodies[index]);
}
size_t whiteout_m3_M3Model_get_physicsConstraints_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->physicsConstraints.size();
}
void whiteout_m3_M3Model_resize_physicsConstraints(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->physicsConstraints.resize(count);
}
whiteout_M3PhysicsConstraint* whiteout_m3_M3Model_get_physicsConstraints_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3PhysicsConstraint*>(&reinterpret_cast<whiteout::m3::Model*>(self)->physicsConstraints[index]);
}
size_t whiteout_m3_M3Model_get_physicsJoints_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->physicsJoints.size();
}
void whiteout_m3_M3Model_resize_physicsJoints(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->physicsJoints.resize(count);
}
whiteout_M3PhysicsJoint* whiteout_m3_M3Model_get_physicsJoints_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3PhysicsJoint*>(&reinterpret_cast<whiteout::m3::Model*>(self)->physicsJoints[index]);
}
size_t whiteout_m3_M3Model_get_clothPhysics_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->clothPhysics.size();
}
void whiteout_m3_M3Model_resize_clothPhysics(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->clothPhysics.resize(count);
}
whiteout_M3ClothPhysics* whiteout_m3_M3Model_get_clothPhysics_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3ClothPhysics*>(&reinterpret_cast<whiteout::m3::Model*>(self)->clothPhysics[index]);
}
size_t whiteout_m3_M3Model_get_ikTwoJoints_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->ikTwoJoints.size();
}
void whiteout_m3_M3Model_resize_ikTwoJoints(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->ikTwoJoints.resize(count);
}
whiteout_M3IKTwoJoint* whiteout_m3_M3Model_get_ikTwoJoints_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3IKTwoJoint*>(&reinterpret_cast<whiteout::m3::Model*>(self)->ikTwoJoints[index]);
}
size_t whiteout_m3_M3Model_get_ikCCD_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->ikCCD.size();
}
void whiteout_m3_M3Model_resize_ikCCD(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->ikCCD.resize(count);
}
whiteout_M3IKCCD* whiteout_m3_M3Model_get_ikCCD_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3IKCCD*>(&reinterpret_cast<whiteout::m3::Model*>(self)->ikCCD[index]);
}
size_t whiteout_m3_M3Model_get_ikJoints_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->ikJoints.size();
}
void whiteout_m3_M3Model_resize_ikJoints(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->ikJoints.resize(count);
}
whiteout_M3IKJoint* whiteout_m3_M3Model_get_ikJoints_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3IKJoint*>(&reinterpret_cast<whiteout::m3::Model*>(self)->ikJoints[index]);
}
size_t whiteout_m3_M3Model_get_oneBoneSolvers_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->oneBoneSolvers.size();
}
void whiteout_m3_M3Model_resize_oneBoneSolvers(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->oneBoneSolvers.resize(count);
}
whiteout_M3OneBoneSolver* whiteout_m3_M3Model_get_oneBoneSolvers_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3OneBoneSolver*>(&reinterpret_cast<whiteout::m3::Model*>(self)->oneBoneSolvers[index]);
}
size_t whiteout_m3_M3Model_get_turretBehaviors_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->turretBehaviors.size();
}
void whiteout_m3_M3Model_resize_turretBehaviors(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->turretBehaviors.resize(count);
}
whiteout_M3TurretBehavior* whiteout_m3_M3Model_get_turretBehaviors_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3TurretBehavior*>(&reinterpret_cast<whiteout::m3::Model*>(self)->turretBehaviors[index]);
}
size_t whiteout_m3_M3Model_get_triggerData_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->triggerData.size();
}
void whiteout_m3_M3Model_resize_triggerData(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->triggerData.resize(count);
}
whiteout_M3TriggerData* whiteout_m3_M3Model_get_triggerData_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3TriggerData*>(&reinterpret_cast<whiteout::m3::Model*>(self)->triggerData[index]);
}
size_t whiteout_m3_M3Model_get_initialReference_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->initialReference.size();
}
void whiteout_m3_M3Model_resize_initialReference(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->initialReference.resize(count);
}
whiteout_M3InitialReference* whiteout_m3_M3Model_get_initialReference_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3InitialReference*>(&reinterpret_cast<whiteout::m3::Model*>(self)->initialReference[index]);
}
whiteout_M3HitTestShape* whiteout_m3_M3Model_get_tightHitTestObject(whiteout_M3Model* self) {
return reinterpret_cast<whiteout_M3HitTestShape*>(&reinterpret_cast<whiteout::m3::Model*>(self)->tightHitTestObject);
}
void whiteout_m3_M3Model_set_tightHitTestObject(whiteout_M3Model* self, const whiteout_M3HitTestShape* value) {
reinterpret_cast<whiteout::m3::Model*>(self)->tightHitTestObject = *reinterpret_cast<const whiteout::m3::HitTestShape*>(value);
}
size_t whiteout_m3_M3Model_get_fuzzyHitTestObjects_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->fuzzyHitTestObjects.size();
}
void whiteout_m3_M3Model_resize_fuzzyHitTestObjects(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->fuzzyHitTestObjects.resize(count);
}
whiteout_M3HitTestShape* whiteout_m3_M3Model_get_fuzzyHitTestObjects_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3HitTestShape*>(&reinterpret_cast<whiteout::m3::Model*>(self)->fuzzyHitTestObjects[index]);
}
size_t whiteout_m3_M3Model_get_attachmentVolumes_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentVolumes.size();
}
void whiteout_m3_M3Model_resize_attachmentVolumes(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumes.resize(count);
}
whiteout_M3AttachmentVolume* whiteout_m3_M3Model_get_attachmentVolumes_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3AttachmentVolume*>(&reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumes[index]);
}
size_t whiteout_m3_M3Model_get_attachmentVolumesAddon0_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentVolumesAddon0.size();
}
void whiteout_m3_M3Model_resize_attachmentVolumesAddon0(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumesAddon0.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_attachmentVolumesAddon0_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentVolumesAddon0;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_attachmentVolumesAddon0(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumesAddon0;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3Model_get_attachmentVolumesAddon1_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentVolumesAddon1.size();
}
void whiteout_m3_M3Model_resize_attachmentVolumesAddon1(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumesAddon1.resize(count);
}
const uint16_t* whiteout_m3_M3Model_get_attachmentVolumesAddon1_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->attachmentVolumesAddon1;
return __v.empty() ? nullptr : reinterpret_cast<const uint16_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_attachmentVolumesAddon1(whiteout_M3Model* self, const uint16_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->attachmentVolumesAddon1;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u16));
}
size_t whiteout_m3_M3Model_get_billboardBehaviors_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->billboardBehaviors.size();
}
void whiteout_m3_M3Model_resize_billboardBehaviors(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->billboardBehaviors.resize(count);
}
whiteout_M3BillboardBehavior* whiteout_m3_M3Model_get_billboardBehaviors_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3BillboardBehavior*>(&reinterpret_cast<whiteout::m3::Model*>(self)->billboardBehaviors[index]);
}
size_t whiteout_m3_M3Model_get_trailingModels_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->trailingModels.size();
}
void whiteout_m3_M3Model_resize_trailingModels(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->trailingModels.resize(count);
}
whiteout_M3TrailingModel* whiteout_m3_M3Model_get_trailingModels_at(whiteout_M3Model* self, size_t index) {
return reinterpret_cast<whiteout_M3TrailingModel*>(&reinterpret_cast<whiteout::m3::Model*>(self)->trailingModels[index]);
}
uint32_t whiteout_m3_M3Model_get_m3aAnimHash(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->m3aAnimHash;
}
void whiteout_m3_M3Model_set_m3aAnimHash(whiteout_M3Model* self, uint32_t value) {
reinterpret_cast<whiteout::m3::Model*>(self)->m3aAnimHash = value;
}
size_t whiteout_m3_M3Model_get_m3aAnimHashes_count(const whiteout_M3Model* self) {
return reinterpret_cast<const whiteout::m3::Model*>(self)->m3aAnimHashes.size();
}
void whiteout_m3_M3Model_resize_m3aAnimHashes(whiteout_M3Model* self, size_t count) {
reinterpret_cast<whiteout::m3::Model*>(self)->m3aAnimHashes.resize(count);
}
const uint32_t* whiteout_m3_M3Model_get_m3aAnimHashes_data(const whiteout_M3Model* self) {
const auto& __v = reinterpret_cast<const whiteout::m3::Model*>(self)->m3aAnimHashes;
return __v.empty() ? nullptr : reinterpret_cast<const uint32_t*>(__v.data());
}
void whiteout_m3_M3Model_assign_m3aAnimHashes(whiteout_M3Model* self, const uint32_t* data, size_t count) {
auto& __v = reinterpret_cast<whiteout::m3::Model*>(self)->m3aAnimHashes;
__v.resize(count);
if (count) std::memcpy(__v.data(), data, count * sizeof(whiteout::u32));
}
}
extern "C" {
whiteout_M3Parser* whiteout_m3_M3Parser_new(void) {
return reinterpret_cast<whiteout_M3Parser*>(new whiteout::m3::Parser());
}
void whiteout_m3_M3Parser_delete(whiteout_M3Parser* self) {
delete reinterpret_cast<whiteout::m3::Parser*>(self);
}
struct whiteout_M3Model* whiteout_m3_M3Parser_parse(whiteout_M3Parser* self, const char* filePath) {
return reinterpret_cast<struct whiteout_M3Model*>(
new whiteout::m3::Model(reinterpret_cast<whiteout::m3::Parser*>(self)->parse(std::string(filePath ? filePath : ""))));
}
struct whiteout_M3Model* whiteout_m3_M3Parser_parse_buffer(whiteout_M3Parser* self, const uint8_t* buffer, size_t buffer_size) {
return reinterpret_cast<struct whiteout_M3Model*>(
new whiteout::m3::Model(reinterpret_cast<whiteout::m3::Parser*>(self)->parse(std::span<const whiteout::u8>(buffer, buffer_size))));
}
int32_t whiteout_m3_M3Parser_hasIssues(const whiteout_M3Parser* self) {
return reinterpret_cast<const whiteout::m3::Parser*>(self)->hasIssues();
}
size_t whiteout_m3_M3Parser_getIssues_count(const whiteout_M3Parser* self) {
return reinterpret_cast<const whiteout::m3::Parser*>(self)->getIssues().size();
}
whiteout_CString whiteout_m3_M3Parser_getIssues_at(const whiteout_M3Parser* self, size_t index) {
const auto& __v = reinterpret_cast<const whiteout::m3::Parser*>(self)->getIssues();
if (index >= __v.size()) return emptyCString();
return wrapCString(std::string(__v[index]));
}
}
extern "C" {
whiteout_M3Writer* whiteout_m3_M3Writer_new(void) {
return reinterpret_cast<whiteout_M3Writer*>(new whiteout::m3::Writer());
}
void whiteout_m3_M3Writer_delete(whiteout_M3Writer* self) {
delete reinterpret_cast<whiteout::m3::Writer*>(self);
}
void whiteout_m3_M3Writer_write(whiteout_M3Writer* self, const char* filePath, struct whiteout_M3Model* model) {
reinterpret_cast<whiteout::m3::Writer*>(self)->write(std::string(filePath ? filePath : ""), *reinterpret_cast<const whiteout::m3::Model*>(model));
}
whiteout_Bytes whiteout_m3_M3Writer_write_model(whiteout_M3Writer* self, struct whiteout_M3Model* model) {
return wrapBytes(reinterpret_cast<whiteout::m3::Writer*>(self)->write(*reinterpret_cast<const whiteout::m3::Model*>(model)));
}
}
extern "C" {
whiteout_M3AnimRefF32* whiteout_m3_M3AnimRefF32_new(void) {
return reinterpret_cast<whiteout_M3AnimRefF32*>(new whiteout::m3::AnimRef<whiteout::f32>());
}
void whiteout_m3_M3AnimRefF32_delete(whiteout_M3AnimRefF32* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self);
}
uint16_t whiteout_m3_M3AnimRefF32_get_interpType(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefF32_set_interpType(whiteout_M3AnimRefF32* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefF32_get_flags(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->flags;
}
void whiteout_m3_M3AnimRefF32_set_flags(whiteout_M3AnimRefF32* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefF32_get_animId(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->animId;
}
void whiteout_m3_M3AnimRefF32_set_animId(whiteout_M3AnimRefF32* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->animId = value;
}
float whiteout_m3_M3AnimRefF32_get_initValue(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->initValue;
}
void whiteout_m3_M3AnimRefF32_set_initValue(whiteout_M3AnimRefF32* self, float value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->initValue = value;
}
float whiteout_m3_M3AnimRefF32_get_nullValue(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->nullValue;
}
void whiteout_m3_M3AnimRefF32_set_nullValue(whiteout_M3AnimRefF32* self, float value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->nullValue = value;
}
int32_t whiteout_m3_M3AnimRefF32_get_unused(const whiteout_M3AnimRefF32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::f32>*>(self)->unused;
}
void whiteout_m3_M3AnimRefF32_set_unused(whiteout_M3AnimRefF32* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::f32>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefVector3f* whiteout_m3_M3AnimRefVector3f_new(void) {
return reinterpret_cast<whiteout_M3AnimRefVector3f*>(new whiteout::m3::AnimRef<whiteout::Vector3f>());
}
void whiteout_m3_M3AnimRefVector3f_delete(whiteout_M3AnimRefVector3f* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self);
}
uint16_t whiteout_m3_M3AnimRefVector3f_get_interpType(const whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefVector3f_set_interpType(whiteout_M3AnimRefVector3f* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefVector3f_get_flags(const whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->flags;
}
void whiteout_m3_M3AnimRefVector3f_set_flags(whiteout_M3AnimRefVector3f* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefVector3f_get_animId(const whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->animId;
}
void whiteout_m3_M3AnimRefVector3f_set_animId(whiteout_M3AnimRefVector3f* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->animId = value;
}
whiteout_Vector3f* whiteout_m3_M3AnimRefVector3f_get_initValue(whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->initValue);
}
void whiteout_m3_M3AnimRefVector3f_set_initValue(whiteout_M3AnimRefVector3f* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->initValue = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
whiteout_Vector3f* whiteout_m3_M3AnimRefVector3f_get_nullValue(whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<whiteout_Vector3f*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->nullValue);
}
void whiteout_m3_M3AnimRefVector3f_set_nullValue(whiteout_M3AnimRefVector3f* self, const whiteout_Vector3f* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->nullValue = *reinterpret_cast<const whiteout::Vector3f*>(value);
}
int32_t whiteout_m3_M3AnimRefVector3f_get_unused(const whiteout_M3AnimRefVector3f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->unused;
}
void whiteout_m3_M3AnimRefVector3f_set_unused(whiteout_M3AnimRefVector3f* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector3f>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefM3ColorBGRA* whiteout_m3_M3AnimRefM3ColorBGRA_new(void) {
return reinterpret_cast<whiteout_M3AnimRefM3ColorBGRA*>(new whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>());
}
void whiteout_m3_M3AnimRefM3ColorBGRA_delete(whiteout_M3AnimRefM3ColorBGRA* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self);
}
uint16_t whiteout_m3_M3AnimRefM3ColorBGRA_get_interpType(const whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_interpType(whiteout_M3AnimRefM3ColorBGRA* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefM3ColorBGRA_get_flags(const whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->flags;
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_flags(whiteout_M3AnimRefM3ColorBGRA* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefM3ColorBGRA_get_animId(const whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->animId;
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_animId(whiteout_M3AnimRefM3ColorBGRA* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->animId = value;
}
whiteout_M3ColorBGRA* whiteout_m3_M3AnimRefM3ColorBGRA_get_initValue(whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<whiteout_M3ColorBGRA*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->initValue);
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_initValue(whiteout_M3AnimRefM3ColorBGRA* self, const whiteout_M3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->initValue = *reinterpret_cast<const whiteout::m3::ColorBGRA*>(value);
}
whiteout_M3ColorBGRA* whiteout_m3_M3AnimRefM3ColorBGRA_get_nullValue(whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<whiteout_M3ColorBGRA*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->nullValue);
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_nullValue(whiteout_M3AnimRefM3ColorBGRA* self, const whiteout_M3ColorBGRA* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->nullValue = *reinterpret_cast<const whiteout::m3::ColorBGRA*>(value);
}
int32_t whiteout_m3_M3AnimRefM3ColorBGRA_get_unused(const whiteout_M3AnimRefM3ColorBGRA* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->unused;
}
void whiteout_m3_M3AnimRefM3ColorBGRA_set_unused(whiteout_M3AnimRefM3ColorBGRA* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::ColorBGRA>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefU16* whiteout_m3_M3AnimRefU16_new(void) {
return reinterpret_cast<whiteout_M3AnimRefU16*>(new whiteout::m3::AnimRef<whiteout::u16>());
}
void whiteout_m3_M3AnimRefU16_delete(whiteout_M3AnimRefU16* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self);
}
uint16_t whiteout_m3_M3AnimRefU16_get_interpType(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefU16_set_interpType(whiteout_M3AnimRefU16* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefU16_get_flags(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->flags;
}
void whiteout_m3_M3AnimRefU16_set_flags(whiteout_M3AnimRefU16* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefU16_get_animId(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->animId;
}
void whiteout_m3_M3AnimRefU16_set_animId(whiteout_M3AnimRefU16* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->animId = value;
}
uint16_t whiteout_m3_M3AnimRefU16_get_initValue(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->initValue;
}
void whiteout_m3_M3AnimRefU16_set_initValue(whiteout_M3AnimRefU16* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->initValue = value;
}
uint16_t whiteout_m3_M3AnimRefU16_get_nullValue(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->nullValue;
}
void whiteout_m3_M3AnimRefU16_set_nullValue(whiteout_M3AnimRefU16* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->nullValue = value;
}
int32_t whiteout_m3_M3AnimRefU16_get_unused(const whiteout_M3AnimRefU16* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u16>*>(self)->unused;
}
void whiteout_m3_M3AnimRefU16_set_unused(whiteout_M3AnimRefU16* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u16>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefVector2f* whiteout_m3_M3AnimRefVector2f_new(void) {
return reinterpret_cast<whiteout_M3AnimRefVector2f*>(new whiteout::m3::AnimRef<whiteout::Vector2f>());
}
void whiteout_m3_M3AnimRefVector2f_delete(whiteout_M3AnimRefVector2f* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self);
}
uint16_t whiteout_m3_M3AnimRefVector2f_get_interpType(const whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefVector2f_set_interpType(whiteout_M3AnimRefVector2f* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefVector2f_get_flags(const whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->flags;
}
void whiteout_m3_M3AnimRefVector2f_set_flags(whiteout_M3AnimRefVector2f* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefVector2f_get_animId(const whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->animId;
}
void whiteout_m3_M3AnimRefVector2f_set_animId(whiteout_M3AnimRefVector2f* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->animId = value;
}
whiteout_Vector2f* whiteout_m3_M3AnimRefVector2f_get_initValue(whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->initValue);
}
void whiteout_m3_M3AnimRefVector2f_set_initValue(whiteout_M3AnimRefVector2f* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->initValue = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
whiteout_Vector2f* whiteout_m3_M3AnimRefVector2f_get_nullValue(whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<whiteout_Vector2f*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->nullValue);
}
void whiteout_m3_M3AnimRefVector2f_set_nullValue(whiteout_M3AnimRefVector2f* self, const whiteout_Vector2f* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->nullValue = *reinterpret_cast<const whiteout::Vector2f*>(value);
}
int32_t whiteout_m3_M3AnimRefVector2f_get_unused(const whiteout_M3AnimRefVector2f* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->unused;
}
void whiteout_m3_M3AnimRefVector2f_set_unused(whiteout_M3AnimRefVector2f* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Vector2f>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefU32* whiteout_m3_M3AnimRefU32_new(void) {
return reinterpret_cast<whiteout_M3AnimRefU32*>(new whiteout::m3::AnimRef<whiteout::u32>());
}
void whiteout_m3_M3AnimRefU32_delete(whiteout_M3AnimRefU32* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self);
}
uint16_t whiteout_m3_M3AnimRefU32_get_interpType(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefU32_set_interpType(whiteout_M3AnimRefU32* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefU32_get_flags(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->flags;
}
void whiteout_m3_M3AnimRefU32_set_flags(whiteout_M3AnimRefU32* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefU32_get_animId(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->animId;
}
void whiteout_m3_M3AnimRefU32_set_animId(whiteout_M3AnimRefU32* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->animId = value;
}
uint32_t whiteout_m3_M3AnimRefU32_get_initValue(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->initValue;
}
void whiteout_m3_M3AnimRefU32_set_initValue(whiteout_M3AnimRefU32* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->initValue = value;
}
uint32_t whiteout_m3_M3AnimRefU32_get_nullValue(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->nullValue;
}
void whiteout_m3_M3AnimRefU32_set_nullValue(whiteout_M3AnimRefU32* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->nullValue = value;
}
int32_t whiteout_m3_M3AnimRefU32_get_unused(const whiteout_M3AnimRefU32* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::u32>*>(self)->unused;
}
void whiteout_m3_M3AnimRefU32_set_unused(whiteout_M3AnimRefU32* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::u32>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefQuaternion* whiteout_m3_M3AnimRefQuaternion_new(void) {
return reinterpret_cast<whiteout_M3AnimRefQuaternion*>(new whiteout::m3::AnimRef<whiteout::Quaternion>());
}
void whiteout_m3_M3AnimRefQuaternion_delete(whiteout_M3AnimRefQuaternion* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self);
}
uint16_t whiteout_m3_M3AnimRefQuaternion_get_interpType(const whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefQuaternion_set_interpType(whiteout_M3AnimRefQuaternion* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefQuaternion_get_flags(const whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->flags;
}
void whiteout_m3_M3AnimRefQuaternion_set_flags(whiteout_M3AnimRefQuaternion* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefQuaternion_get_animId(const whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->animId;
}
void whiteout_m3_M3AnimRefQuaternion_set_animId(whiteout_M3AnimRefQuaternion* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->animId = value;
}
whiteout_Quaternion* whiteout_m3_M3AnimRefQuaternion_get_initValue(whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<whiteout_Quaternion*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->initValue);
}
void whiteout_m3_M3AnimRefQuaternion_set_initValue(whiteout_M3AnimRefQuaternion* self, const whiteout_Quaternion* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->initValue = *reinterpret_cast<const whiteout::Quaternion*>(value);
}
whiteout_Quaternion* whiteout_m3_M3AnimRefQuaternion_get_nullValue(whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<whiteout_Quaternion*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->nullValue);
}
void whiteout_m3_M3AnimRefQuaternion_set_nullValue(whiteout_M3AnimRefQuaternion* self, const whiteout_Quaternion* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->nullValue = *reinterpret_cast<const whiteout::Quaternion*>(value);
}
int32_t whiteout_m3_M3AnimRefQuaternion_get_unused(const whiteout_M3AnimRefQuaternion* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->unused;
}
void whiteout_m3_M3AnimRefQuaternion_set_unused(whiteout_M3AnimRefQuaternion* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::Quaternion>*>(self)->unused = value;
}
}
extern "C" {
whiteout_M3AnimRefM3Extent* whiteout_m3_M3AnimRefM3Extent_new(void) {
return reinterpret_cast<whiteout_M3AnimRefM3Extent*>(new whiteout::m3::AnimRef<whiteout::m3::Extent>());
}
void whiteout_m3_M3AnimRefM3Extent_delete(whiteout_M3AnimRefM3Extent* self) {
delete reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self);
}
uint16_t whiteout_m3_M3AnimRefM3Extent_get_interpType(const whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->interpType;
}
void whiteout_m3_M3AnimRefM3Extent_set_interpType(whiteout_M3AnimRefM3Extent* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->interpType = value;
}
uint16_t whiteout_m3_M3AnimRefM3Extent_get_flags(const whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->flags;
}
void whiteout_m3_M3AnimRefM3Extent_set_flags(whiteout_M3AnimRefM3Extent* self, uint16_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->flags = value;
}
uint32_t whiteout_m3_M3AnimRefM3Extent_get_animId(const whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->animId;
}
void whiteout_m3_M3AnimRefM3Extent_set_animId(whiteout_M3AnimRefM3Extent* self, uint32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->animId = value;
}
whiteout_M3Extent* whiteout_m3_M3AnimRefM3Extent_get_initValue(whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<whiteout_M3Extent*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->initValue);
}
void whiteout_m3_M3AnimRefM3Extent_set_initValue(whiteout_M3AnimRefM3Extent* self, const whiteout_M3Extent* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->initValue = *reinterpret_cast<const whiteout::m3::Extent*>(value);
}
whiteout_M3Extent* whiteout_m3_M3AnimRefM3Extent_get_nullValue(whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<whiteout_M3Extent*>(&reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->nullValue);
}
void whiteout_m3_M3AnimRefM3Extent_set_nullValue(whiteout_M3AnimRefM3Extent* self, const whiteout_M3Extent* value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->nullValue = *reinterpret_cast<const whiteout::m3::Extent*>(value);
}
int32_t whiteout_m3_M3AnimRefM3Extent_get_unused(const whiteout_M3AnimRefM3Extent* self) {
return reinterpret_cast<const whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->unused;
}
void whiteout_m3_M3AnimRefM3Extent_set_unused(whiteout_M3AnimRefM3Extent* self, int32_t value) {
reinterpret_cast<whiteout::m3::AnimRef<whiteout::m3::Extent>*>(self)->unused = value;
}
}