ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CP_SDK::Animation::AnimationInfo Class Reference

Animation frame info. More...

#include <AnimationInfo.hpp>

Collaboration diagram for CP_SDK::Animation::AnimationInfo:
Collaboration graph
[legend]

Public Types

using Ptr = std::shared_ptr< AnimationInfo >
 

Public Member Functions

 AnimationInfo (CP_SDK_PRIV_TAG_ARG(), int p_Width, int p_Height, uint32_t p_FrameCount)
 Constructor.
 
 ~AnimationInfo ()
 Destructor.
 

Static Public Member Functions

static Ptr Make (int p_Width, int p_Height, uint32_t p_FrameCount)
 Constructor.
 

Public Attributes

int32_t Width
 
int32_t Height
 
std::vector< _u::Color32 * > Frames
 
std::vector< uint16_t > Delays
 

Detailed Description

Animation frame info.

Definition at line 20 of file AnimationInfo.hpp.

Member Typedef Documentation

◆ Ptr

using CP_SDK::Animation::AnimationInfo::Ptr = std::shared_ptr<AnimationInfo>

Definition at line 26 of file AnimationInfo.hpp.

Constructor & Destructor Documentation

◆ AnimationInfo()

CP_SDK::Animation::AnimationInfo::AnimationInfo ( CP_SDK_PRIV_TAG_ARG()  ,
int  p_Width,
int  p_Height,
uint32_t  p_FrameCount 
)

Constructor.

Parameters
p_WidthWidth
p_HeightHeight
p_FrameCountAnimation frame count

◆ ~AnimationInfo()

CP_SDK::Animation::AnimationInfo::~AnimationInfo ( )

Destructor.

Member Function Documentation

◆ Make()

static Ptr CP_SDK::Animation::AnimationInfo::Make ( int  p_Width,
int  p_Height,
uint32_t  p_FrameCount 
)
static

Constructor.

Parameters
p_WidthWidth
p_HeightHeight
p_FrameCountAnimation frame count

Member Data Documentation

◆ Delays

std::vector<uint16_t> CP_SDK::Animation::AnimationInfo::Delays

Definition at line 32 of file AnimationInfo.hpp.

◆ Frames

std::vector<_u::Color32*> CP_SDK::Animation::AnimationInfo::Frames

Definition at line 31 of file AnimationInfo.hpp.

◆ Height

int32_t CP_SDK::Animation::AnimationInfo::Height

Definition at line 30 of file AnimationInfo.hpp.

◆ Width

int32_t CP_SDK::Animation::AnimationInfo::Width

Definition at line 29 of file AnimationInfo.hpp.


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