MSFCelestialEventListener
Objective-C
@interface MSFCelestialEventListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFCelestialEventListener : NSObject
Reports clicks on the objects of a CelestialLayer.
-
Called when an object of the layer is clicked. Objects are tested against the touch ray together with every other layer’s content, so an object behind terrain is not reported.
Declaration
Objective-C
- (BOOL)onCelestialObjectClicked:(MSFClickInfo *)clickInfo celestialObject:(MSFCelestialObject *)celestialObject;Swift
func onCelestialObjectClicked(_ clickInfo: MSFClickInfo!, celestialObject: MSFCelestialObject!) -> BoolParameters
clickInfoThe click that hit the object.
celestialObjectThe object that was clicked.
Return Value
True if the click was handled and must not be passed on, false otherwise.
-
Called when an object of the layer is clicked. Objects are tested against the touch ray together with every other layer’s content, so an object behind terrain is not reported.
Declaration
Objective-C
- (BOOL)onCelestialObjectClickedSwigExplicitMSFCelestialEventListener: (MSFClickInfo *)clickInfo celestialObject: (MSFCelestialObject *) celestialObject;Swift
func onCelestialObjectClickedSwigExplicitMSFCelestialEventListener(_ clickInfo: MSFClickInfo!, celestialObject: MSFCelestialObject!) -> BoolParameters
clickInfoThe click that hit the object.
celestialObjectThe object that was clicked.
Return Value
True if the click was handled and must not be passed on, false otherwise.
-
Undocumented
Declaration
Objective-C
-(id)init;Swift
init!() -
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()