Class SharedContentEyeSystem
Lets specific sessions scroll and set their zoom directly.
Inheritance
System.Object
SharedContentEyeSystem
Assembly: Content.Shared.dll
Syntax
public abstract class SharedContentEyeSystem : EntitySystem
Fields
|
Improve this Doc
View Source
DefaultZoom
Declaration
public static readonly Vector2 DefaultZoom
Field Value
|
Improve this Doc
View Source
MinZoom
Declaration
public static readonly Vector2 MinZoom
Field Value
|
Improve this Doc
View Source
ZoomMod
Declaration
public const float ZoomMod = null
Field Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
ResetZoom(EntityUid, ContentEyeComponent)
Declaration
public void ResetZoom(EntityUid uid, ContentEyeComponent component = null)
Parameters
|
Improve this Doc
View Source
SetMaxZoom(EntityUid, Vector2, ContentEyeComponent)
Declaration
public void SetMaxZoom(EntityUid uid, Vector2 value, ContentEyeComponent component = null)
Parameters
|
Improve this Doc
View Source
SetZoom(EntityUid, Vector2, Boolean, ContentEyeComponent)
Sets the target zoom, optionally ignoring normal zoom limits.
Declaration
public void SetZoom(EntityUid uid, Vector2 zoom, bool ignoreLimits = false, ContentEyeComponent eye = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
Vector2 |
zoom |
|
System.Boolean |
ignoreLimits |
|
ContentEyeComponent |
eye |
|
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()