Package dev.gothickit.zenkit.mmb
Class NativeMorphAnimation
java.lang.Object
dev.gothickit.zenkit.mmb.NativeMorphAnimation
- All Implemented Interfaces:
CacheableObject<CachedMorphAnimation>,MorphAnimation,NativeObject
-
Method Summary
Modifier and TypeMethodDescriptionfloatblendIn()floatblendOut()@NotNull CachedMorphAnimationcache()floatduration()byteflags()intstatic @Nullable NativeMorphAnimationfromNativeHandle(com.sun.jna.Pointer handle) @NotNull com.sun.jna.PointerbooleanisCached()intlayer()@NotNull Stringname()Vec3f @NotNull []samples()floatspeed()int @NotNull []vertices()
-
Method Details
-
fromNativeHandle
@Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeMorphAnimation fromNativeHandle(com.sun.jna.Pointer handle) -
name
- Specified by:
namein interfaceMorphAnimation
-
layer
public int layer()- Specified by:
layerin interfaceMorphAnimation
-
blendIn
public float blendIn()- Specified by:
blendInin interfaceMorphAnimation
-
blendOut
public float blendOut()- Specified by:
blendOutin interfaceMorphAnimation
-
duration
public float duration()- Specified by:
durationin interfaceMorphAnimation
-
speed
public float speed()- Specified by:
speedin interfaceMorphAnimation
-
flags
public byte flags()- Specified by:
flagsin interfaceMorphAnimation
-
frameCount
public int frameCount()- Specified by:
frameCountin interfaceMorphAnimation
-
vertices
public int @NotNull [] vertices()- Specified by:
verticesin interfaceMorphAnimation
-
samples
- Specified by:
samplesin interfaceMorphAnimation
-
cache
- Specified by:
cachein interfaceCacheableObject<CachedMorphAnimation>
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceCacheableObject<CachedMorphAnimation>
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-