载入中...
搜索中...
未找到
eve::animation::MotionRuntime::FloatDesc结构体 参考

FloatDesc public API. 更多...

#include <MotionRuntime.h>

Public 属性

float from = 0.f
 
float to = 0.f
 
float duration = 0.f
 
float delay = 0.f
 
int loops = 1
 1 = once, N = N cycles, -1 = infinite.
 
MotionLoopMode loopMode = MotionLoopMode::Restart
 
std::string ease = "linear"
 
IMotionFloatSink * sink = nullptr
 
FloatCallback onUpdate
 
VoidCallback onComplete
 
VoidCallback onCancel
 
bool cancelOnError = true
 
MotionStyle style = MotionStyle::Tween
 
int frequency = 10
 Oscillation count for Punch/Shake.
 
float dampingRatio = 1.f
 0 = undamped, 1 = fully damped.
 
std::uint32_t seed = 0
 Deterministic Shake seed.
 

详细描述

FloatDesc public API.

在文件 MotionRuntime.h 第 37 行定义.

类成员变量说明

◆ cancelOnError

bool eve::animation::MotionRuntime::FloatDesc::cancelOnError = true

在文件 MotionRuntime.h 第 49 行定义.

被这些函数引用 eve::animation::MotionBuilder::cancelOnError().

◆ dampingRatio

float eve::animation::MotionRuntime::FloatDesc::dampingRatio = 1.f

0 = undamped, 1 = fully damped.

在文件 MotionRuntime.h 第 52 行定义.

被这些函数引用 eve::animation::MotionBuilder::dampingRatio().

◆ delay

float eve::animation::MotionRuntime::FloatDesc::delay = 0.f

在文件 MotionRuntime.h 第 41 行定义.

被这些函数引用 eve::animation::MotionBuilder::delay().

◆ duration

float eve::animation::MotionRuntime::FloatDesc::duration = 0.f

在文件 MotionRuntime.h 第 40 行定义.

被这些函数引用 eve::animation::MotionBuilder::MotionBuilder().

◆ ease

std::string eve::animation::MotionRuntime::FloatDesc::ease = "linear"

在文件 MotionRuntime.h 第 44 行定义.

被这些函数引用 eve::animation::MotionBuilder::ease().

◆ frequency

int eve::animation::MotionRuntime::FloatDesc::frequency = 10

Oscillation count for Punch/Shake.

在文件 MotionRuntime.h 第 51 行定义.

被这些函数引用 eve::animation::MotionBuilder::frequency().

◆ from

float eve::animation::MotionRuntime::FloatDesc::from = 0.f

在文件 MotionRuntime.h 第 38 行定义.

被这些函数引用 eve::animation::MotionBuilder::MotionBuilder().

◆ loopMode

MotionLoopMode eve::animation::MotionRuntime::FloatDesc::loopMode = MotionLoopMode::Restart

在文件 MotionRuntime.h 第 43 行定义.

被这些函数引用 eve::animation::MotionBuilder::loops().

◆ loops

int eve::animation::MotionRuntime::FloatDesc::loops = 1

1 = once, N = N cycles, -1 = infinite.

在文件 MotionRuntime.h 第 42 行定义.

被这些函数引用 eve::animation::MotionBuilder::loops().

◆ onCancel

VoidCallback eve::animation::MotionRuntime::FloatDesc::onCancel

在文件 MotionRuntime.h 第 48 行定义.

被这些函数引用 eve::animation::MotionBuilder::onCancel().

◆ onComplete

VoidCallback eve::animation::MotionRuntime::FloatDesc::onComplete

在文件 MotionRuntime.h 第 47 行定义.

被这些函数引用 eve::animation::MotionBuilder::onComplete().

◆ onUpdate

FloatCallback eve::animation::MotionRuntime::FloatDesc::onUpdate

在文件 MotionRuntime.h 第 46 行定义.

被这些函数引用 eve::animation::MotionBuilder::onUpdate().

◆ seed

std::uint32_t eve::animation::MotionRuntime::FloatDesc::seed = 0

Deterministic Shake seed.

在文件 MotionRuntime.h 第 53 行定义.

被这些函数引用 eve::animation::MotionBuilder::seed().

◆ sink

IMotionFloatSink* eve::animation::MotionRuntime::FloatDesc::sink = nullptr

◆ style

MotionStyle eve::animation::MotionRuntime::FloatDesc::style = MotionStyle::Tween

在文件 MotionRuntime.h 第 50 行定义.

被这些函数引用 eve::animation::MotionBuilder::style().

◆ to

float eve::animation::MotionRuntime::FloatDesc::to = 0.f

在文件 MotionRuntime.h 第 39 行定义.

被这些函数引用 eve::animation::MotionBuilder::MotionBuilder().


该结构体的文档由以下文件生成: