示例#1
0
            internal static _UpdateDuration UpdateDuration()
            {
                if (_UpdateDurationFunc == null)
                {
                    _UpdateDurationFunc =
                        (_UpdateDuration)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVTimeLineControl_updateDuration"), typeof(_UpdateDuration));
                }

                return(_UpdateDurationFunc);
            }
示例#2
0
            internal static _UpdateDuration UpdateDuration()
            {
                if (_UpdateDurationFunc == null)
                {
                    _UpdateDurationFunc =
                        (_UpdateDuration)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVTimeLineControl_updateDuration"), typeof(_UpdateDuration));
                }

                return(_UpdateDurationFunc);
            }