internal static float getScale(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string device, [MarshalAs(UnmanagedType.LPWStr)] string action) { if (_getScaleFunc == null) { _getScaleFunc = (_getScale)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_ActionMap_getScale"), typeof(_getScale)); } return(_getScaleFunc(thisPtr, device, action)); }
internal static InternalPoint3FStruct getScale(IntPtr thisPtr) { if (_getScaleFunc == null) { _getScaleFunc = (_getScale)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_SceneObject_getScale"), typeof(_getScale)); } return(_getScaleFunc(thisPtr)); }