Class ParallaxControl
Renders the parallax background as a UI control.
Inheritance
System.Object
Robust.Client.UserInterface.Control
ParallaxControl
Namespace: Content.Client.Parallax
Assembly: Content.Client.dll
Syntax
public sealed class ParallaxControl : Control
Constructors
| Improve this Doc View SourceParallaxControl()
Declaration
public ParallaxControl()
Properties
| Improve this Doc View SourceOffset
Declaration
public Vector2 Offset { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
| Improve this Doc View SourceDraw(DrawingHandleScreen)
Declaration
protected override void Draw(DrawingHandleScreen handle)
Parameters
Type | Name | Description |
---|---|---|
Robust.Client.Graphics.DrawingHandleScreen | handle |
Overrides
Robust.Client.UserInterface.Control.Draw(Robust.Client.Graphics.DrawingHandleScreen)