コード例 #1
0
            internal static _GetDeployTransform GetDeployTransform()
            {
                if (_GetDeployTransformFunc == null)
                {
                    _GetDeployTransformFunc =
                        (_GetDeployTransform)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeBaseData_getDeployTransform"), typeof(_GetDeployTransform));
                }

                return(_GetDeployTransformFunc);
            }
コード例 #2
0
            internal static _GetDeployTransform GetDeployTransform()
            {
                if (_GetDeployTransformFunc == null)
                {
                    _GetDeployTransformFunc =
                        (_GetDeployTransform)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnShapeBaseData_getDeployTransform"), typeof(_GetDeployTransform));
                }

                return(_GetDeployTransformFunc);
            }