Свойство | Type | Description | |
---|---|---|---|
bounds | |||
deadzone | |||
defaultZoom | float | ||
effect | |||
height | float | ||
scroll | FlxPoint | ||
target | |||
transform | Matrix | ||
width | float | ||
x | float | ||
y | float |
Свойство | Type | Description | |
---|---|---|---|
_fxShakeComplete | System.Action | ||
_fxShakeDirection | uint | ||
_fxShakeDuration | float | ||
_fxShakeIntensity | float | ||
_fxShakeOffset | FlxPoint | ||
_point | FlxPoint | ||
_zoom | float | ||
angle | float |
Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
FlxCamera ( float X, float Y, float Width, float Height, float Zoom = 1.0f ) : System | ||
focusOn ( FlxPoint Point ) : void |
Shift the camera's focus onto a specific point in the game-world.
|
|
follow ( |
Make the camera follow an object with a specified follow-style
|
|
setBounds ( float X, float Y, float Width, float Height, System.Boolean UpdateWorld = false ) : void |
Set the boundaries of the camera. Useful for preventing the camera from scrolling past the edge of a map.
|
|
shake ( float Intensity = 0.05f, float Duration = 0.5f, System.Action OnComplete = null, bool Force = true, uint Direction = SHAKE_BOTH_AXES ) : void |
Shake the screen
|
|
stopFX ( ) : void |
Internal function for stopping any effects, can be called manually
|
|
update ( ) : void |
public FlxCamera ( float X, float Y, float Width, float Height, float Zoom = 1.0f ) : System | ||
X | float | |
Y | float | |
Width | float | |
Height | float | |
Zoom | float | |
Résultat | System |
public follow ( |
||
Target | ||
Style | uint | |
Résultat | void |
public setBounds ( float X, float Y, float Width, float Height, System.Boolean UpdateWorld = false ) : void | ||
X | float | |
Y | float | |
Width | float | |
Height | float | |
UpdateWorld | System.Boolean | |
Résultat | void |
public shake ( float Intensity = 0.05f, float Duration = 0.5f, System.Action OnComplete = null, bool Force = true, uint Direction = SHAKE_BOTH_AXES ) : void | ||
Intensity | float | |
Duration | float | |
OnComplete | System.Action | |
Force | bool | |
Direction | uint | |
Résultat | void |
protected Action,System _fxShakeComplete | ||
Résultat | System.Action |
public static Effect,Microsoft.Xna.Framework.Graphics effect | ||
Résultat |