Table of Contents

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 IAnimationManager
entity EntityPlayer
entityShape Shape

Fields

player

protected IPlayer player

Field Value

IPlayer

rotateTpYawNow

protected bool rotateTpYawNow

Field Value

bool

turnOpposite

protected bool turnOpposite

Field Value

bool

Methods

OnFrame(float)

The event fired when the game ticks.

public override void OnFrame(float dt)

Parameters

dt float