public class Filter extends EffectTrack
EffectTrack.Type
mTimelineIn, mTimelineOut
Constructor and Description |
---|
Filter(Source source) |
Filter(java.lang.String path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Gets the display duration of an effect.
|
EffectConfig |
getEffectConfig()
Gets the effect config.
|
float |
getIntensity()
Gets the lut filter effect ratio
|
Source |
getSource()
Gets the filter resource.
|
long |
getStartTime()
Gets the time when an effect appears.
|
void |
setEffectConfig(EffectConfig effectConfig)
Sets the effect config.
|
void |
setIntensity(float intensity)
Sets the lut filter effect ratio, valid value range[0.0, 1.0]
|
void |
setSource(Source source)
Sets the filter resource.
|
getTimelineIn, getTimelineOut, getType, setTimelineIn, setTimelineOut, setType
@Deprecated public Filter(java.lang.String path)
public Filter(Source source)
public EffectConfig getEffectConfig()
public void setEffectConfig(EffectConfig effectConfig)
effectConfig
- effect configpublic Source getSource()
public void setSource(Source source)
source
- filter resourcepublic long getStartTime()
public long getDuration()
public float getIntensity()
public void setIntensity(float intensity)
intensity
- ratio value