Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / cocoaint / src / gamecontroller / GCMotion.inc
Size: Mime:
{ Parsed from GameController.framework GCMotion.h }


{ Types from GCMotion }
{$ifdef TYPES}


type
  GCMotionValueChangedHandler = OpaqueCBlock;
{$endif}


{$ifdef TYPES}
type
  GCMotionPtr = ^GCMotion;
{$endif}

{$ifdef TYPES}
type
  GCAcceleration = record
    x, y, z: double;
  end;
type
  GCAccelerationPtr = ^GCAcceleration;
type
  GCRotationRate = record
    x, y, z: double;
  end;
type
  GCRotationRatePtr = ^GCRotationRate;
type
  GCQuaternion = record
    x, y, z, w: double;
  end;
type
  GCQuaternionPtr = ^GCQuaternion;
{$endif}

{$ifdef CLASSES}

type
  GCMotion = objcclass external (NSObject)
  public
    {$if  not defined(__has_feature)}
    function controller: GCController; message 'controller';
    {$else}
    function controller_: GCController; message 'controller';
    {$endif}
    procedure setValueChangedHandler(newValue: GCMotionValueChangedHandler); message 'setValueChangedHandler:';
    function valueChangedHandler: GCMotionValueChangedHandler; message 'valueChangedHandler';
    function gravity: GCAcceleration; message 'gravity';
    function userAcceleration: GCAcceleration; message 'userAcceleration';
    function attitude: GCQuaternion; message 'attitude';
    function rotationRate: GCRotationRate; message 'rotationRate';
  end;
{$endif}