public class EffectTrack extends Track
Modifier and Type | Class and Description |
---|---|
static class |
EffectTrack.Type |
Modifier and Type | Field and Description |
---|---|
protected float |
mTimelineIn
表示效果出现在时间线的起始位置。单位:秒,精确到小数点后4位。
|
protected float |
mTimelineOut
表示效果出现在时间线的结束位置。单位:秒,精确到小数点后4位。
|
Constructor and Description |
---|
EffectTrack() |
Modifier and Type | Method and Description |
---|---|
float |
getTimelineIn()
获取效果出现在时间线的起始位置。单位:秒,精确到小数点后4位。
|
float |
getTimelineOut()
获取效果出现在时间线的结束位置。单位:秒,精确到小数点后4位。
|
EffectTrack.Type |
getType()
获取效果类型
|
void |
setTimelineIn(float timelineIn)
设置效果出现在时间线的起始位置。单位:秒,精确到小数点后4位。
|
void |
setTimelineOut(float timelineOut)
设置效果出现在时间线的结束位置。单位:秒,精确到小数点后4位。
|
void |
setType(EffectTrack.Type type)
设置效果类型
|
protected float mTimelineIn
protected float mTimelineOut
public EffectTrack.Type getType()
public void setType(EffectTrack.Type type)
type
- 效果类型public float getTimelineIn()
public void setTimelineIn(float timelineIn)
timelineIn
- 切入点public float getTimelineOut()
public void setTimelineOut(float timelineOut)
timelineOut
- 切出点