public void SetAnimationAtChannel( UIntPtr skeletonPointer, int animationIndex, int channelNo, float animationSpeedMultiplier, float blendInPeriod, float startProgress) { ScriptingInterfaceOfIMBSkeletonExtensions.call_SetAnimationAtChannelDelegate(skeletonPointer, animationIndex, channelNo, animationSpeedMultiplier, blendInPeriod, startProgress); }
public Skeleton CreateWithActionSet( ref AgentVisualsNativeData agentVisualsNativeData, ref AnimationSystemData animationSystemData) { NativeObjectPointer nativeObjectPointer = ScriptingInterfaceOfIMBSkeletonExtensions.call_CreateWithActionSetDelegate(ref agentVisualsNativeData, ref animationSystemData); Skeleton skeleton = (Skeleton)null; if (nativeObjectPointer.Pointer != UIntPtr.Zero) { skeleton = new Skeleton(nativeObjectPointer.Pointer); LibraryApplicationInterface.IManaged.DecreaseReferenceCount(nativeObjectPointer.Pointer); } return(skeleton); }
public void SetFacialAnimationOfChannel( UIntPtr skeletonPointer, int channel, string facialAnimationName, bool playSound, bool loop) { byte[] numArray = (byte[])null; if (facialAnimationName != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBSkeletonExtensions._utf8.GetBytes(facialAnimationName, 0, facialAnimationName.Length, numArray, 0); numArray[bytes] = (byte)0; } ScriptingInterfaceOfIMBSkeletonExtensions.call_SetFacialAnimationOfChannelDelegate(skeletonPointer, channel, numArray, playSound, loop); }
public Skeleton CreateSimpleSkeleton(string skeletonName) { byte[] numArray = (byte[])null; if (skeletonName != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBSkeletonExtensions._utf8.GetBytes(skeletonName, 0, skeletonName.Length, numArray, 0); numArray[bytes] = (byte)0; } NativeObjectPointer nativeObjectPointer = ScriptingInterfaceOfIMBSkeletonExtensions.call_CreateSimpleSkeletonDelegate(numArray); Skeleton skeleton = (Skeleton)null; if (nativeObjectPointer.Pointer != UIntPtr.Zero) { skeleton = new Skeleton(nativeObjectPointer.Pointer); LibraryApplicationInterface.IManaged.DecreaseReferenceCount(nativeObjectPointer.Pointer); } return(skeleton); }
public void TickActionChannels(UIntPtr skeletonPointer) => ScriptingInterfaceOfIMBSkeletonExtensions.call_TickActionChannelsDelegate(skeletonPointer);
public int GetActionAtChannel(UIntPtr skeletonPointer, int channelNo) => ScriptingInterfaceOfIMBSkeletonExtensions.call_GetActionAtChannelDelegate(skeletonPointer, channelNo);
public string GetSkeletonFaceAnimationName(UIntPtr entityId) => ScriptingInterfaceOfIMBSkeletonExtensions.call_GetSkeletonFaceAnimationNameDelegate(entityId) != 1 ? (string)null : Managed.ReturnValueFromEngine;
public void SetSkeletonFaceAnimationTime(UIntPtr entityId, float time) => ScriptingInterfaceOfIMBSkeletonExtensions.call_SetSkeletonFaceAnimationTimeDelegate(entityId, time);
public float GetSkeletonFaceAnimationTime(UIntPtr entityId) => ScriptingInterfaceOfIMBSkeletonExtensions.call_GetSkeletonFaceAnimationTimeDelegate(entityId);