LeviLamina
Loading...
Searching...
No Matches
DataDrivenGeometry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/model/GeometryPtr.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/core/string/HashedString.h"
9#include "mc/deps/minecraft_renderer/renderer/MaterialPtr.h"
10#include "mc/world/actor/SkeletalHierarchyIndex.h"
11
12// auto generated forward declare list
13// clang-format off
14class BoneOrientation;
15class ModelPart;
18class RenderParams;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 48, ::HashedString> mGeoName;
27 ::ll::TypedStorage<8, 24, ::std::vector<::ModelPart>> mModelParts;
28 ::ll::TypedStorage<8, 24, ::std::vector<uint64>> mRootModelParts;
29 ::ll::TypedStorage<8, 16, ::mce::MaterialPtr> mDefaultMaterial;
30 ::ll::TypedStorage<4, 12, ::Vec3> mLeashOffset;
31 ::ll::TypedStorage<8, 24, ::std::vector<::SkinnedMeshGroup>> mSkinnedMeshGroups;
32 ::ll::TypedStorage<8, 24, ::std::vector<::BoneOrientation>> mDefaultBoneOrientations;
33 ::ll::TypedStorage<8, 24, ::std::vector<::ModelPartLocator>> mLocators;
34 ::ll::TypedStorage<8, 24, ::GeometryPtr> mSourceGeometry;
35 ::ll::TypedStorage<4, 4, ::SkeletalHierarchyIndex> mSkeletalHierarchyIndex;
36 ::ll::TypedStorage<1, 1, bool> mUseModelData;
37 // NOLINTEND
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~DataDrivenGeometry() = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI void copyBoneMatricesToActor(
49 ::RenderParams& renderParams,
50 ::gsl::span<::BoneOrientation const> boneOrientations,
51 ::RenderController const* renderControllerId
52 );
53
54 MCAPI void copyTransformMatricesToModelParts(::RenderParams& renderParams);
55
56 MCAPI ::std::vector<::HashedString> getQueryableBoneOrientations() const;
57 // NOLINTEND
58};
Definition BoneOrientation.h:16
Definition DataDrivenGeometry.h:5
Definition ModelPartLocator.h:11
Definition ModelPart.h:5
Definition RenderController.h:5
Definition RenderParams.h:29
Definition SkinnedMeshGroup.h:5