Table of Contents

Class DrunkPerceptionEffect

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class DrunkPerceptionEffect : PerceptionEffect
Inheritance
DrunkPerceptionEffect
Inherited Members

Constructors

DrunkPerceptionEffect(ICoreClientAPI)

public DrunkPerceptionEffect(ICoreClientAPI capi)

Parameters

capi ICoreClientAPI

Methods

ApplyToFpHand(Matrixf)

public override void ApplyToFpHand(Matrixf modelMat)

Parameters

modelMat Matrixf

ApplyToTpPlayer(EntityPlayer, float[], float?)

public override void ApplyToTpPlayer(EntityPlayer entityPlr, float[] modelMatrix, float? playerIntensity = null)

Parameters

entityPlr EntityPlayer
modelMatrix float[]
playerIntensity float?

NowActive(float)

public override void NowActive(float intensity)

Parameters

intensity float

OnBeforeGameRender(float)

public override void OnBeforeGameRender(float dt)

Parameters

dt float