ISMap3DView Class Reference
Inherits from | ISMapView : CCGLView |
---|---|
Declared in | ISMap3DView.h |
+ getMap3DViewWithFrame:andMapDelegate:andHandler:
Static constructor.
+ (void)getMap3DViewWithFrame:(CGRect)frame andMapDelegate:(id<ISMapViewDelegate>)mapDelegate andHandler:(GetMap3DViewHandler)handler
Parameters
frame |
Wanted rendering frame. |
---|---|
mapDelegate |
Delegate used to handle map events. |
handler |
Map view creation completion handler. - map3DView Created map view. |
Declared In
ISMap3DView.h
+ getMap3DViewWithFrame:andMapDelegate:andStartMapId:andHandler:
Static constructor.
+ (void)getMap3DViewWithFrame:(CGRect)frame andMapDelegate:(id<ISMapViewDelegate>)mapDelegate andStartMapId:(NSNumber *)startMapId andHandler:(GetMap3DViewHandler)handler
Parameters
frame |
Wanted rendering frame. |
---|---|
mapDelegate |
Delegate used to handle map events. |
startMapId |
Map identifier you want to display at launch. |
handler |
Map view creation completion handler. - map3DView Created map view. |
Declared In
ISMap3DView.h
– getGfxZoneWithZoneId:
Method used to get an ISGfxZone according to its ISZone entity identifier.
- (ISGfxZone *)getGfxZoneWithZoneId:(int)zoneId
Parameters
zoneId |
ISZone entity identifier. |
---|
Return Value
The corresponding ISGfxZone if exists, otherwise nil.
Discussion
Warning: If you give a zone identifier which is not currently displayed (ie. on the current map), this method will return nil.
Declared In
ISMap3DView.h
+ rayWithValue:
Static method used to get a CC3Ray from an NSValue.
+ (CC3Ray)rayWithValue:(NSValue *)value
Parameters
value |
NSValue containing the CC3Ray. |
---|
Return Value
The corresponding CC3Ray.
Declared In
ISMap3DView.h
+ rayValue:
Static method used to convert a CC3Ray to an NSValue.
+ (NSValue *)rayValue:(CC3Ray)ray
Parameters
ray |
The CC3Ray to convert. |
---|
Return Value
The corresponding NSValue.
Declared In
ISMap3DView.h
+ vector4WithValue:
Static method used to get a CC3Vector4 from an NSValue.
+ (CC3Vector4)vector4WithValue:(NSValue *)value
Parameters
value |
NSValue containing the CC3Vector4. |
---|
Return Value
The corresponding CC3Vector4.
Declared In
ISMap3DView.h
+ vector4Value:
Static method used to convert a CC3Vector4 to an NSValue.
+ (NSValue *)vector4Value:(CC3Vector4)vector
Parameters
vector |
The CC3Vector4 to convert. |
---|
Return Value
The corresponding NSValue.
Declared In
ISMap3DView.h