Esempio n. 1
0
            internal static _GetAnimationCount GetAnimationCount()
            {
                if (_GetAnimationCountFunc == null)
                {
                    _GetAnimationCountFunc =
                        (_GetAnimationCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeAsset_getAnimationCount"), typeof(_GetAnimationCount));
                }

                return(_GetAnimationCountFunc);
            }
Esempio n. 2
0
            internal static _GetAnimationCount GetAnimationCount()
            {
                if (_GetAnimationCountFunc == null)
                {
                    _GetAnimationCountFunc =
                        (_GetAnimationCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeAnimationAsset_getAnimationCount"), typeof(_GetAnimationCount));
                }

                return(_GetAnimationCountFunc);
            }