docs: add plugin setup guide
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "RE/N/NiPoint3.h"
|
||||
#include "RE/T/TESForm.h"
|
||||
|
||||
namespace RE
|
||||
{
|
||||
class __declspec(novtable) BGSTransform :
|
||||
public TESForm // 00
|
||||
{
|
||||
public:
|
||||
static constexpr auto RTTI{ RTTI::BGSTransform };
|
||||
static constexpr auto VTABLE{ VTABLE::BGSTransform };
|
||||
static constexpr auto FORM_ID{ ENUM_FORM_ID::kTRNS };
|
||||
|
||||
class TransformData
|
||||
{
|
||||
public:
|
||||
// members
|
||||
NiPoint3 position; // 00
|
||||
NiPoint3 rotation; // 0C
|
||||
float scale; // 18
|
||||
float minZoom; // 1C
|
||||
float maxZoom; // 20
|
||||
};
|
||||
static_assert(sizeof(TransformData) == 0x24);
|
||||
|
||||
// members
|
||||
TransformData data; // 20
|
||||
};
|
||||
static_assert(sizeof(BGSTransform) == 0x48);
|
||||
}
|
||||
Reference in New Issue
Block a user