Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ParticleAppearanceBillboardComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/particlesystem/particle/components/FlipBook.h"
7#include "mc/client/particlesystem/particle/components/ParticleAppearanceBillboardBaseComponent.h"
8#include "mc/deps/core/math/Vec2.h"
9#include "mc/deps/core/string/HashedString.h"
10#include "mc/util/molang/ExpressionNode.h"
11
12// auto generated forward declare list
13// clang-format off
14class RenderParams;
16namespace ParticleSystem { class ComponentAccessParticleEmitter; }
17namespace ParticleSystem { struct CommonParticle; }
18namespace SharedTypes::v1_20_80 { struct ParticleEffectComponent; }
19// clang-format on
20
21namespace ParticleSystem {
22
23class ParticleAppearanceBillboardComponent : public ::ParticleSystem::ParticleAppearanceBillboardBaseComponent {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::std::array<::ExpressionNode, 2>> mSizeExpr;
28 ::ll::TypedStorage<8, 48, ::HashedString> mFacing;
29 ::ll::TypedStorage<8, 32, ::std::array<::ExpressionNode, 2>> mUVExpr;
30 ::ll::TypedStorage<8, 32, ::std::array<::ExpressionNode, 2>> mUVSizeExpr;
31 ::ll::TypedStorage<4, 8, ::Vec2> mAssumedTextureDimensions;
32 ::ll::TypedStorage<1, 1, bool> mUseFlipBook;
33 ::ll::TypedStorage<8, 80, ::ParticleSystem::FlipBook> mFlipBook;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void initializeFromData(::SharedTypes::v1_20_80::ParticleEffectComponent& data) /*override*/;
40
41 virtual void upgradeToSharedTypes(::SharedTypes::v1_20_80::ParticleEffectComponent& data) /*override*/;
42
43 virtual void parseJson(::ConstDeserializeDataParams const& deserializeDataParams) /*override*/;
44
45 virtual void updateParticleAppearance(
46 ::ParticleSystem::ComponentAccessParticleEmitter& emitter,
47 ::ParticleSystem::CommonParticle& particle,
48 ::RenderParams& renderParams
49 ) /*override*/;
50
51 virtual void updateEmitterAppearance(
52 ::ParticleSystem::ComponentAccessParticleEmitter& emitter,
53 ::RenderParams& renderParams
54 ) /*override*/;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
61
63
64 MCNAPI void $parseJson(::ConstDeserializeDataParams const& deserializeDataParams);
65
69 ::RenderParams& renderParams
70 );
71
72 MCNAPI void
74 // NOLINTEND
75};
76
77} // namespace ParticleSystem
Definition ComponentAccessParticleEmitter.h:7
Definition ParticleAppearanceBillboardComponent.h:7
MCAPI void $initializeFromData(::SharedTypes::v1_20_80::ParticleEffectComponent &data)
MCAPI void $updateParticleAppearance(::ParticleSystem::ComponentAccessParticleEmitter &emitter, ::ParticleSystem::CommonParticle &particle, ::RenderParams &renderParams)
MCAPI void $parseJson(::ConstDeserializeDataParams const &deserializeDataParams)
MCAPI void $upgradeToSharedTypes(::SharedTypes::v1_20_80::ParticleEffectComponent &data)
MCAPI void $updateEmitterAppearance(::ParticleSystem::ComponentAccessParticleEmitter &emitter, ::RenderParams &renderParams)
Definition RenderParams.h:29
Definition ConstDeserializeDataParams.h:15
Definition CommonParticle.h:7
Definition ParticleEffectComponent.h:12