Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,32 @@ struct __declspec(align(0x10)) MorphTargetSkinnedMeshComponent : ent::ISkinTarge
static constexpr const char* NAME = "entMorphTargetSkinnedMeshComponent";
static constexpr const char* ALIAS = NAME;

uint8_t unk1E0[0x1E8 - 0x1E0]; // 1E0
SharedPtr<IRenderProxy> renderProxy; // 1E8
uint8_t unk1F0[0x200 - 0x1F8]; // 1F8
RaRef<MorphTargetMesh> morphResource; // 200
Handle<MorphTargetMesh> meshHandle; // 208
uint8_t unk208[0x238 - 0x218]; // 218
CName meshAppearance; // 238
uint64_t chunkMask; // 240
uint8_t unk248[0x2E8 - 0x248]; // 248
CName renderingPlaneAnimationParam; // 2E8
CName visibilityAnimationParam; // 2F0
uint8_t unk2F8[0x308 - 0x2F8]; // 2F8
red::TagList tags; // 308
uint8_t unk318[0x35C - 0x318]; // 318
shadows::ShadowCastingMode castShadows; // 35C
shadows::ShadowCastingMode castLocalShadows; // 35D
bool acceptDismemberment; // 35E
uint8_t unk35F[0x361 - 0x35F]; // 35F
uint8_t version; // 361
uint8_t unk362[0x370 - 0x362]; // 362
uint8_t unk1E0[0x1E8 - 0x1E0]; // 1E0
SharedPtr<IRenderProxy> renderProxy; // 1E8
uint8_t unk1F0[0x200 - 0x1F8]; // 1F8
RaRef<MorphTargetMesh> morphResource; // 200
Handle<MorphTargetMesh> meshHandle; // 208
uint8_t unk208[0x228 - 0x218]; // 218 - Handle

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's known to be handle, we could check native type.

Handle<MeshAppearance> meshAppearanceHandle; // 228
CName meshAppearance; // 238
uint64_t chunkMask; // 240
uint8_t unk248[0x2E8 - 0x248]; // 248
CName renderingPlaneAnimationParam; // 2E8
CName visibilityAnimationParam; // 2F0
DynArray<Matrix> cachedBindPoseMatrices; // 2F8
red::TagList tags; // 308
DynArray<DynArray<uint8_t>> garmentChunksMorphOffsetScales; // 318
DynArray<uint64_t> garmentChunksMorphOffsetScalesHashes; // 328
void* unk338; // 338 - TRenderPtr
Comment thread
psiberx marked this conversation as resolved.
Handle<GarmentParameter> garmentParamHandle; // 340
GarmentParameterComponentData* garmentParamData; // 350
uint32_t cachedBindPoseMatricesHash; // 358
shadows::ShadowCastingMode castShadows; // 35C
shadows::ShadowCastingMode castLocalShadows; // 35D
bool acceptDismemberment; // 35E
uint8_t unk35F[0x361 - 0x35F]; // 35F
uint8_t version; // 361
uint8_t unk362[0x370 - 0x362]; // 362
};
RED4EXT_ASSERT_SIZE(MorphTargetSkinnedMeshComponent, 0x370);
} // namespace ent
Expand Down
Loading