프로퍼티 | 타입 | 설명 | |
---|---|---|---|
bounds | |||
deadzone | |||
defaultZoom | float | ||
effect | |||
height | float | ||
scroll | FlxPoint | ||
target | |||
transform | Matrix | ||
width | float | ||
x | float | ||
y | float |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_fxShakeComplete | System.Action | ||
_fxShakeDirection | uint | ||
_fxShakeDuration | float | ||
_fxShakeIntensity | float | ||
_fxShakeOffset | FlxPoint | ||
_point | FlxPoint | ||
_zoom | float | ||
angle | float |
프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public follow ( |
||
Target | ||
Style | uint | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | void |
public static Effect,Microsoft.Xna.Framework.Graphics effect | ||
리턴 |