48 static_assert(
sizeof(
NiCamera) == 0x188);
50 float worldToCam[4][4];
57 float minNearPlaneDist;
58 float maxFarNearRatio;
64 static_assert(
sizeof(NiCamera) == 0x208);
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: NiAVObject.h:57
Definition: NiCamera.h:11
void SaveBinary(NiStream &a_stream) override
float worldToCam[4][4]
Definition: NiCamera.h:39
static bool BoundInFrustum(const NiBound &a_bound, NiCamera *a_camera)
static bool PointInFrustum(const NiPoint3 &a_point, NiCamera *a_camera, float a_radius)
NiFrustum viewFrustum
Definition: NiCamera.h:40
bool IsEqual(NiObject *a_object) override
float lodAdjust
Definition: NiCamera.h:44
bool WindowPointToRay(std::int32_t a_x, std::int32_t a_y, NiPoint3 &a_origin, NiPoint3 &a_dir, float a_windowWidth, float a_windowHeight)
bool WorldPtToScreenPt3(const NiPoint3 &a_point, float &a_xOut, float &a_yOut, float &a_zOut, float a_zeroTolerance)
NiRect< float > port
Definition: NiCamera.h:43
float minNearPlaneDist
Definition: NiCamera.h:41
void LinkObject(NiStream &a_stream) override
NiObject * CreateClone(NiCloningProcess &a_cloning) override
static constexpr auto VTABLE
Definition: NiCamera.h:15
bool RegisterStreamables(NiStream &a_stream) override
static bool WorldPtToScreenPt3(const float a_matrix[4][4], const NiRect< float > &a_port, const NiPoint3 &a_point, float &a_xOut, float &a_yOut, float &a_zOut, float a_zeroTolerance)
float maxFarNearRatio
Definition: NiCamera.h:42
static bool NodeInFrustum(NiAVObject *a_node, NiCamera *a_camera)
static constexpr auto Ni_RTTI
Definition: NiCamera.h:14
const NiRTTI * GetRTTI() const override
void UpdateWorldBound() override
void LoadBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition: NiCamera.h:13
void UpdateWorldData(NiUpdateData *a_data) override
Definition: NiCloningProcess.h:10
Definition: NiFrustum.h:6
Definition: NiObject.h:37
Definition: NiStream.h:29
Definition: NiAVObject.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiCamera(static_cast< std::uint64_t >(523926))
constexpr REL::ID RTTI_NiCamera(static_cast< std::uint64_t >(690424))
constexpr std::array< REL::ID, 1 > VTABLE_NiCamera
Definition: Offsets_VTABLE.h:12184