Table of Contents

Class EntityHeadController

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class EntityHeadController
Inheritance
EntityHeadController
Derived
Inherited Members
Extension Methods

Constructors

EntityHeadController(IAnimationManager, EntityAgent, Shape)

public EntityHeadController(IAnimationManager animator, EntityAgent entity, Shape entityShape)

Parameters

animator IAnimationManager
entity EntityAgent
entityShape Shape

Fields

HeadPose

public ElementPose HeadPose

Field Value

ElementPose

LowerTorsoPose

public ElementPose LowerTorsoPose

Field Value

ElementPose

NeckPose

public ElementPose NeckPose

Field Value

ElementPose

UpperFootLPose

public ElementPose UpperFootLPose

Field Value

ElementPose

UpperFootRPose

public ElementPose UpperFootRPose

Field Value

ElementPose

UpperTorsoPose

public ElementPose UpperTorsoPose

Field Value

ElementPose

animManager

protected IAnimationManager animManager

Field Value

IAnimationManager

entity

protected EntityAgent entity

Field Value

EntityAgent

pitchOffset

public float pitchOffset

Field Value

float

yawOffset

public float yawOffset

Field Value

float

Methods

OnFrame(float)

The event fired when the game ticks.

public virtual void OnFrame(float dt)

Parameters

dt float