LeviLamina
Loading...
Searching...
No Matches
AnimationComponent Class Reference

Classes

struct  ChildAnimationComponentInfo

Public Member Functions

virtual::ClientAnimationComponent * tryGetClient ()
MCAPI AnimationComponent (::AnimationComponentArguments &&args)
MCAPI_C void _addAnimationToStatePlayer (::HashedString const &friendlyName, ::std::shared_ptr<::ActorAnimationControllerStatePlayer > player)
MCAPI_C::RenderParams & _prepRenderParamsForActor (::Actor &actor)
MCAPI void applyAnimations (bool setDefaultPose)
MCAPI_C bool attemptToSetParentBoneMapping (::AnimationComponent &parentAnimationComponent, ::BoneOrientation &childBoneOrientation) const
MCAPI ::std::shared_ptr<::ActorAnimationPlayercreateAnimationPlayer (::HashedString const &friendlyName, ::ExpressionNode const &blendExpression, ::std::set<::HashedString, ::std::hash<::HashedString > > &animationControllerNameStack)
MCAPI_C ::std::shared_ptr<::ActorAnimationControllerStatePlayereditGlobalAnimationData (::HashedString const &friendlyName, float blendOutTime, ::std::string const &stopExpression, ::MolangVersion stopExpressionVersion, ::std::string const &nextStateName, ::std::string const &runtimeController)
MCAPI_C void ensureClientAnimationComponentIsInitialized ()
MCAPI_C ::std::shared_ptr<::ActorAnimationPlayerfindAnimation (::HashedString const &rawAnimationName)
MCAPI_C void forceNextUpdateToApplyAnimations ()
MCAPI_C ::std::shared_ptr<::ActorAnimationControllerPlayergetAnimationControllerPlayer (::HashedString const &destControllerName, bool createIfMissing)
MCAPI_C ::std::vector<::BoneOrientation > & getBoneOrientations (::DataDrivenGeometry const &sourceGeo)
MCAPI ::std::vector<::BoneOrientation > * getBoneOrientations (::SkeletalHierarchyIndex skeletalHierarchyIndex, bool missingIsOkay)
MCAPI_C::ModelPartLocator * getLocator (::HashedString const &locatorNameHash)
MCAPI_C::Matrix const * getQueryableBoneOrientation (uint64 boneNameHash) const
MCAPI_C float getRegisteredAnimationLength (::std::string const &friendlyName) const
MCAPI_C bool haveInitializedScriptsRun () const
MCAPI void initInstanceSpecificAnimationData (::MolangVariableMap *variableMap)
MCAPI_C void initializeClientAnimationComponent (::std::function< void(::ActorAnimationPlayer &)> animationComponentInitFunction)
MCAPI void initializeServerAnimationComponent (::Actor &actor, ::std::shared_ptr<::CommonResourceDefinitionMap > animationResourceDefinition, ::std::function< void(::ActorAnimationPlayer &)> animationComponentInitFunction)
MCAPI_C bool isAnimationRegistered (::HashedString const &friendlyName) const
MCAPI_C ::std::shared_ptr<::ActorAnimationControllerStatePlayerplayAnimation (::HashedString const &friendlyName, ::HashedString const &owningStateName, ::std::string const &runtimeController)
MCAPI void setDirty ()
MCAPI_C void setInitializedScriptsRun (bool)
MCAPI_C void setupDeltaTimeAndLifeTimeParams (bool incrementLifetime)
MCAPI_C bool tryRegisterAnimation (::HashedString const &friendlyName, ::ActorSkeletalAnimationPtr animation)
MCAPI_C void updateQueryableGeometryBoneOrientations ()
MCAPI_C void updateRenderControllersToProcess (::std::shared_ptr<::DataDrivenModel > itemModel, ::RenderParams &renderParamsToUseForRenderControllerEvalulation)
MCAPI void * $ctor (::AnimationComponentArguments &&args)
MCAPI void $dtor ()
MCFOLD::ClientAnimationComponent * $tryGetClient ()

Static Public Member Functions

static MCAPI ::std::atomic< int64 > & mClientFrameIndex ()
static MCAPI ::std::atomic< int64 > & mReloadTimeStampClient ()
static MCAPI ::std::atomic< int64 > & mServerFrameIndex ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ActorAnimationControllerStatePlayer > > mCurrentAnimationControllerStatePlayer
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationPlayer > > > mComponentAnimationPlayers
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ActorAnimationControllerInfo > > > mOwnedAnimationControllers
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ModelPartLocator > > mModelPartLocators
::ll::TypedStorage< 8, 512, ::RenderParamsmRenderParams
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ActorAnimationPlayer > > mPlaySingleAnimation
::ll::TypedStorage< 8, 8, void * > mModelRenderControllerCacheWasBuiltFrom
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::CommonResourceDefinitionMap > > mCommonResourceDefinitionMap
::ll::TypedStorage< 8, 8, ::std::unordered_map<::HashedString, ::HashedString > const * > mParticleEffectMap
::ll::TypedStorage< 8, 64, ::std::function< void(::ActorAnimationPlayer &)> > mAnimationComponentInitFunction
::ll::TypedStorage< 8, 24, ::std::vector<::AnimationComponent::ChildAnimationComponentInfo > > mChildAnimationComponents
::ll::TypedStorage< 8, 64, ::std::unordered_map<::SkeletalHierarchyIndex, ::std::vector<::BoneOrientation > > > mBoneOrientations
::ll::TypedStorage< 1, 1, bool > mAnimationComponentInitialized
::ll::TypedStorage< 4, 4, ::AnimationComponentGroupType > mAnimationComponentGroupType
::ll::TypedStorage< 8, 8, ::AnimationComponentIDmOwnerUUID
::ll::TypedStorage< 8, 8, int64 > mLastUpdateFrame
::ll::TypedStorage< 8, 8, uint64 > mLastReloadInitTimeStampClient
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::DataDrivenModel const > > mLastModelInitializedWith
::ll::TypedStorage< 1, 1, bool > mApplyAnimations
::ll::TypedStorage< 1, 1, bool > mNeedToUpdateQueryableBoneOrientations

Member Function Documentation

◆ $vftable()

MCAPI void ** AnimationComponent::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: