benilla-re systems structs docs

CCamera

struct · camera · 368 bytes

Vtable
0x81d7c0
Meaning
Holds a camera: the property slots and update list, then nine properties
Confidence
verified, proof one
Finding
camera#lifetime

Finding: Lifetime in camera

0x7ac930 allocates and builds a camera with the defaults and returns its handle from 0x41af10. 0x7acf10 does the same and then copies each property's value from a source camera through the property's set slot. Destruction runs vtable 0x81d7c0 slot 0, 0x7acd80: it destroys the properties, unlinks them, frees the slot array, and frees the camera when bit 0 of its argument is set.

The derivation is in the doc.

Fields 32

offsetsizetypenamemeaningconfidencefinding
0x00004void **__vfptrHolds the vtable 0x81d7c0verified, proof onecamera#lifetime
0x00084uint32_tm_slotCapacityHolds the allocated length of the slot arrayverified, proof onecamera#lifetime
0x000c4uint32_tm_slotCountHolds the number of slots; ids at or past it are refusedverified, proof onecamera#property-updates
0x00104CBaseManaged **m_slotsHolds the property pointer for each idverified, proof onecamera#property-updates
0x00144int32_tm_listLinkOffsetHolds 4, the offset of the link inside a listed propertyverified, proof onecamera#lifetime
0x00188void *[2]m_listHeadHolds the update list head, linked to itself when emptyverified, proof onecamera#lifetime
0x002028CBaseManagedm_eyePropertyHolds the eye position property, id 7, a vectorverified, proof onecamera#properties
0x003c12float[3]m_eyeHolds the eye positionverified, proof onecamera#properties
0x004828CBaseManagedm_targetPropertyHolds the point looked at property, id 8, a vectorverified, proof onecamera#properties
0x006412float[3]m_targetHolds the point looked atverified, proof onecamera#properties
0x007028CBaseManagedm_distancePropertyHolds the eye-to-target distance property, id 1, a scalarverified, proof onecamera#properties
0x008c4floatm_distanceHolds the eye-to-target distanceverified, proof onecamera#properties
0x009028CBaseManagedm_farClipPropertyHolds the far clip distance property, id 2, a scalarverified, proof onecamera#properties
0x00ac4floatm_farClipHolds the far clip distanceverified, proof onecamera#properties
0x00b028CBaseManagedm_nearClipPropertyHolds the near clip distance property, id 3, a scalarverified, proof onecamera#properties
0x00cc4floatm_nearClipHolds the near clip distanceverified, proof onecamera#properties
0x00d028CBaseManagedm_pitchPropertyHolds the pitch angle property, id 0, a angleinferredcamera#properties
0x00ec4floatm_pitchHolds the pitch angleinferredcamera#properties
0x00f04floatm_pitchCosHolds the cosine of the pitch angle, recomputed on every storeinferredcamera#angle-properties
0x00f44floatm_pitchSinHolds the sine of the pitch angle, recomputed on every storeinferredcamera#angle-properties
0x00f828CBaseManagedm_fovPropertyHolds the field of view property, id 4, a angleverified, proof onecamera#properties
0x01144floatm_fovHolds the field of viewverified, proof onecamera#properties
0x01184floatm_fovCosHolds the cosine of the field of view, recomputed on every storeverified, proof onecamera#angle-properties
0x011c4floatm_fovSinHolds the sine of the field of view, recomputed on every storeverified, proof onecamera#angle-properties
0x012028CBaseManagedm_rollPropertyHolds the roll angle property, id 5, a angleverified, proof onecamera#properties
0x013c4floatm_rollHolds the roll angleverified, proof onecamera#properties
0x01404floatm_rollCosHolds the cosine of the roll angle, recomputed on every storeverified, proof onecamera#angle-properties
0x01444floatm_rollSinHolds the sine of the roll angle, recomputed on every storeverified, proof onecamera#angle-properties
0x014828CBaseManagedm_yawPropertyHolds the yaw angle property, id 6, a angleinferredcamera#properties
0x01644floatm_yawHolds the yaw angleinferredcamera#properties
0x01684floatm_yawCosHolds the cosine of the yaw angle, recomputed on every storeinferredcamera#angle-properties
0x016c4floatm_yawSinHolds the sine of the yaw angle, recomputed on every storeinferredcamera#angle-properties