Show / Hide Table of Contents

Class RotationVisualizerSystem

Inheritance
System.Object
Robust.Shared.GameObjects.EntitySystem
Robust.Client.GameObjects.VisualizerSystem<RotationVisualsComponent>
RotationVisualizerSystem
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
Namespace: Content.Client.Rotation
Assembly: Content.Client.dll
Syntax
public sealed class RotationVisualizerSystem : VisualizerSystem<RotationVisualsComponent>, IEntitySystem, IEntityEventSubscriber, IPostInjectInit

Methods

| Improve this Doc View Source

AnimateSpriteRotation(EntityUid, SpriteComponent, Angle, Single)

Rotates a sprite between two animated keyframes given a certain time.

Declaration
public void AnimateSpriteRotation(EntityUid uid, SpriteComponent spriteComp, Angle rotation, float animationTime)
Parameters
Type Name Description
EntityUid uid
Robust.Client.GameObjects.SpriteComponent spriteComp
Angle rotation
System.Single animationTime
| Improve this Doc View Source

OnAppearanceChange(EntityUid, RotationVisualsComponent, ref AppearanceChangeEvent)

Declaration
protected override void OnAppearanceChange(EntityUid uid, RotationVisualsComponent component, ref AppearanceChangeEvent args)
Parameters
Type Name Description
EntityUid uid
RotationVisualsComponent component
Robust.Client.GameObjects.AppearanceChangeEvent args
| Improve this Doc View Source

SetHorizontalAngle(EntityUid, Angle, RotationVisualsComponent)

Declaration
public void SetHorizontalAngle(EntityUid uid, Angle angle, RotationVisualsComponent component = null)
Parameters
Type Name Description
EntityUid uid
Angle angle
RotationVisualsComponent component

Implements

Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾