Click or drag to resize
SpriteBaseLocalDX Field
Horizontal velocity relative to the sprite's environment (like a platform)

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public double LocalDX

Field Value

Type: Double
Remarks
If the sprite is riding a platform, changes to the sprite's velocity should affect this instead of dx. When the sprite is not riding a platform, this value will be set to double.NaN.
See Also