public static class DefaultAnimationModel.DefaultChannel extends java.lang.Object implements AnimationModel.Channel
AnimationModel.Channel| Constructor and Description |
|---|
DefaultChannel(AnimationModel.Sampler sampler,
NodeModel nodeModel,
java.lang.String path)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
NodeModel |
getNodeModel()
Returns the optional
NodeModel to which the animated
property (path) belongs. |
java.lang.String |
getPath()
Returns the path describing the animated property
|
AnimationModel.Sampler |
getSampler()
Returns the
AnimationModel.Sampler for this channel |
public DefaultChannel(AnimationModel.Sampler sampler, NodeModel nodeModel, java.lang.String path)
sampler - The samplernodeModel - The node modelpath - The pathpublic AnimationModel.Sampler getSampler()
AnimationModel.ChannelAnimationModel.Sampler for this channelgetSampler in interface AnimationModel.ChannelAnimationModel.Samplerpublic NodeModel getNodeModel()
AnimationModel.ChannelNodeModel to which the animated
property (path) belongs.getNodeModel in interface AnimationModel.ChannelNodeModelpublic java.lang.String getPath()
AnimationModel.ChannelgetPath in interface AnimationModel.ChannelCopyright © 2022. All Rights Reserved.