public class Animation extends GlTFChildOfRootProperty
| Constructor and Description |
|---|
Animation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannels(AnimationChannel element)
Add the given channels.
|
void |
addSamplers(AnimationSampler element)
Add the given samplers.
|
java.util.List<AnimationChannel> |
getChannels()
An array of animation channels.
|
java.util.List<AnimationSampler> |
getSamplers()
An array of animation samplers.
|
void |
removeChannels(AnimationChannel element)
Remove the given channels.
|
void |
removeSamplers(AnimationSampler element)
Remove the given samplers.
|
void |
setChannels(java.util.List<AnimationChannel> channels)
An array of animation channels.
|
void |
setSamplers(java.util.List<AnimationSampler> samplers)
An array of animation samplers.
|
getName, setNameaddExtensions, getExtensions, getExtras, removeExtensions, setExtensions, setExtraspublic void setChannels(java.util.List<AnimationChannel> channels)
channels - The channels to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.util.List<AnimationChannel> getChannels()
public void addChannels(AnimationChannel element)
element - The elementjava.lang.NullPointerException - If the given element is nullpublic void removeChannels(AnimationChannel element)
element - The elementjava.lang.NullPointerException - If the given element is nullpublic void setSamplers(java.util.List<AnimationSampler> samplers)
samplers - The samplers to setjava.lang.NullPointerException - If the given value is nulljava.lang.IllegalArgumentException - If the given value does not meet
the given constraintspublic java.util.List<AnimationSampler> getSamplers()
public void addSamplers(AnimationSampler element)
element - The elementjava.lang.NullPointerException - If the given element is nullpublic void removeSamplers(AnimationSampler element)
element - The elementjava.lang.NullPointerException - If the given element is nullCopyright © 2024. All Rights Reserved.