public class Filter extends EffectTrack
EffectTrack.Type
mTimelineIn, mTimelineOut
Constructor and Description |
---|
Filter(Source source) |
Filter(java.lang.String path)
Deprecated.
使用
Filter(Source) 替代 |
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
获取时长,单位毫秒
|
EffectConfig |
getEffectConfig()
获取滤镜动态化配置
|
float |
getIntensity()
获取lut滤镜生效比例
|
Source |
getSource()
获取滤镜资源
|
long |
getStartTime()
获取开始时间,单位毫秒
|
void |
setEffectConfig(EffectConfig effectConfig)
设置滤镜动态化配置
|
void |
setIntensity(float intensity)
设置lut滤镜生效比例
|
void |
setSource(Source source)
设置滤镜资源
|
getTimelineIn, getTimelineOut, getType, setTimelineIn, setTimelineOut, setType
@Deprecated public Filter(java.lang.String path)
Filter(Source)
替代public Filter(Source source)
public EffectConfig getEffectConfig()
public void setEffectConfig(EffectConfig effectConfig)
effectConfig
- 滤镜动态化配置public Source getSource()
public void setSource(Source source)
source
- 滤镜资源public long getStartTime()
public long getDuration()
public float getIntensity()
public void setIntensity(float intensity)
intensity
- 比例值, 有效值范围[0.0, 1.0]