Property | Type | Description | |
---|---|---|---|
cameraPosition | Vector2 |
Method | Description | |
---|---|---|
inCamera ( Vector2 position, |
||
moveCamera ( float x, float y ) : void | ||
setCameraPosition ( Vector2 position ) : void | ||
setCameraPositionCenter ( Vector2 position ) : void | ||
setCameraPositionCenterMin ( Vector2 position, Vector2 min ) : void |
public static inCamera ( Vector2 position, |
||
position | Vector2 | |
dimensions | ||
return | bool |
public static moveCamera ( float x, float y ) : void | ||
x | float | |
y | float | |
return | void |
public static setCameraPosition ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public static setCameraPositionCenter ( Vector2 position ) : void | ||
position | Vector2 | |
return | void |
public static setCameraPositionCenterMin ( Vector2 position, Vector2 min ) : void | ||
position | Vector2 | |
min | Vector2 | |
return | void |