Package dev.gothickit.zenkit.mds
Class NativeAnimation
java.lang.Object
dev.gothickit.zenkit.mds.NativeAnimation
- All Implemented Interfaces:
CacheableObject<CachedAnimation>,Animation,NativeObject
-
Method Summary
Modifier and TypeMethodDescriptionfloatblendIn()floatblendOut()@NotNull CachedAnimationcache()@NotNull EventCameraTremorcameraTremor(long i) long@NotNull List<@NotNull EventCameraTremor>float@NotNull AnimationDirection@NotNull EventTageventTag(long i) longint@NotNull EnumSet<AnimationFlag>flags()floatfps()static @Nullable NativeAnimationfromNativeHandle(com.sun.jna.Pointer handle) @NotNull com.sun.jna.PointerbooleanisCached()intintlayer()@NotNull Stringmodel()@NotNull EventMorphAnimationmorphAnimation(long i) long@NotNull List<@NotNull EventMorphAnimation>@NotNull Stringname()@NotNull Stringnext()@NotNull EventParticleEffectparticleEffect(long i) long@NotNull List<@NotNull EventParticleEffect>@NotNull List<@NotNull EventParticleEffectStop>@NotNull EventParticleEffectStopparticleEffectStop(long i) long@NotNull EventSoundEffectsoundEffect(long i) long@NotNull EventSoundEffectGroundsoundEffectGround(long i) long@NotNull List<@NotNull EventSoundEffect>@NotNull List<@NotNull EventSoundEffectGround>floatspeed()
-
Method Details
-
fromNativeHandle
@Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeAnimation fromNativeHandle(com.sun.jna.Pointer handle) -
name
-
layer
public int layer() -
next
-
blendIn
public float blendIn() -
blendOut
public float blendOut() -
flags
-
model
-
direction
-
firstFrame
public int firstFrame()- Specified by:
firstFramein interfaceAnimation
-
lastFrame
public int lastFrame() -
fps
public float fps() -
speed
public float speed() -
collisionVolumeScale
public float collisionVolumeScale()- Specified by:
collisionVolumeScalein interfaceAnimation
-
eventTagCount
public long eventTagCount()- Specified by:
eventTagCountin interfaceAnimation
-
particleEffectCount
public long particleEffectCount()- Specified by:
particleEffectCountin interfaceAnimation
-
particleEffectStopCount
public long particleEffectStopCount()- Specified by:
particleEffectStopCountin interfaceAnimation
-
soundEffectCount
public long soundEffectCount()- Specified by:
soundEffectCountin interfaceAnimation
-
soundEffectGroundCount
public long soundEffectGroundCount()- Specified by:
soundEffectGroundCountin interfaceAnimation
-
morphAnimationCount
public long morphAnimationCount()- Specified by:
morphAnimationCountin interfaceAnimation
-
cameraTremorCount
public long cameraTremorCount()- Specified by:
cameraTremorCountin interfaceAnimation
-
eventTag
-
particleEffect
- Specified by:
particleEffectin interfaceAnimation
-
particleEffectStop
- Specified by:
particleEffectStopin interfaceAnimation
-
soundEffect
- Specified by:
soundEffectin interfaceAnimation
-
soundEffectGround
- Specified by:
soundEffectGroundin interfaceAnimation
-
morphAnimation
- Specified by:
morphAnimationin interfaceAnimation
-
cameraTremor
- Specified by:
cameraTremorin interfaceAnimation
-
eventTags
-
particleEffects
- Specified by:
particleEffectsin interfaceAnimation
-
particleEffectsStop
- Specified by:
particleEffectsStopin interfaceAnimation
-
soundEffects
- Specified by:
soundEffectsin interfaceAnimation
-
soundEffectsGround
- Specified by:
soundEffectsGroundin interfaceAnimation
-
morphAnimations
- Specified by:
morphAnimationsin interfaceAnimation
-
cameraTremors
- Specified by:
cameraTremorsin interfaceAnimation
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-
cache
- Specified by:
cachein interfaceCacheableObject<CachedAnimation>
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceCacheableObject<CachedAnimation>
-