EvilEngine/DYNA/camera:transition path: Difference between revisions

no edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0xBBA5036A}}<nowiki/>
{{#vardefine:games|ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoDynaInfobox}}
 
==Format==
Unused dyna type. Code can be found in Rise of the Underminer and Ratatouille Prototype.
<source lang=cpp>
struct xCamTransitionAsset : xDynAsset
{
uint32 mVersion;
int32 mType;
uint32 mFlags;
uint32 mDestCameraID;
union
{
struct
{
float32 mTime;
float32 mAccel;
float32 mDecel;
};
uint32 mSrcCameraID;
};
uint32 mCurveID;
uint32 mTriggerID;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || u32 || '''mVersion''' ||
|-
| 0x14 || s32 || '''mType''' ||
|-
| 0x18 || u32 || '''mFlags''' ||
|-
| 0x1C || [[AssetID]] || '''mDestCameraID''' ||
|-
| 0x20 || f32 || '''mTime''' ||
|-
| 0x24 || f32 || '''mAccel''' ||
|-
| 0x28 || f32 || '''mDecel''' ||
|-
| 0x2C || [[AssetID]] || '''mSrcCameraID''' ||
|-
| 0x30 || [[AssetID]] || '''mCurveID''' ||
|-
| 0x34 || [[AssetID]] || '''mTriggerID''' ||
|}
 
{{DynaAssets}}