Class PlayerHeadController
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class PlayerHeadController : EntityHeadController
- Inheritance
-
PlayerHeadController
- Inherited Members
- Extension Methods
Constructors
PlayerHeadController(IAnimationManager, EntityPlayer, Shape)
public PlayerHeadController(IAnimationManager animator, EntityPlayer entity, Shape entityShape)
Parameters
animator
IAnimationManagerentity
EntityPlayerentityShape
Shape
Fields
player
protected IPlayer player
Field Value
rotateTpYawNow
protected bool rotateTpYawNow
Field Value
turnOpposite
protected bool turnOpposite
Field Value
Methods
OnFrame(float)
The event fired when the game ticks.
public override void OnFrame(float dt)
Parameters
dt
float