Class PerceptionEffect
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public abstract class PerceptionEffect
- Inheritance
-
PerceptionEffect
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
PerceptionEffect(ICoreClientAPI)
public PerceptionEffect(ICoreClientAPI capi)
Parameters
capi
ICoreClientAPI
Fields
Code
Field Value
- string
DurationHours
public double DurationHours
Field Value
- double
Intensity
Field Value
- float
PerceptionEffectId
public int PerceptionEffectId
Field Value
- int
capi
protected ICoreClientAPI capi
Field Value
- ICoreClientAPI
Methods
ApplyToFpHand(Matrixf)
public virtual void ApplyToFpHand(Matrixf modelMat)
Parameters
modelMat
Matrixf
ApplyToTpPlayer(EntityPlayer, float[], float?)
public virtual void ApplyToTpPlayer(EntityPlayer entityPlr, float[] modelMatrix, float? playerIntensity = null)
Parameters
entityPlr
EntityPlayer
modelMatrix
float[]
playerIntensity
float?
NowActive(float)
public virtual void NowActive(float intensity)
Parameters
intensity
float
NowDisabled()
public virtual void NowDisabled()
OnBeforeGameRender(float)
public virtual void OnBeforeGameRender(float dt)
Parameters
dt
float
OnOwnPlayerDataReceived(EntityPlayer)
public virtual void OnOwnPlayerDataReceived(EntityPlayer eplr)
Parameters
eplr
EntityPlayer