Class: FxEntityShake
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: FxInterpolatedEffectBase
csharp
public class FxEntityShake : FxInterpolatedEffectBase, IEffectComponent, IEffectWithSpeed, IAttachableToEntityFields
| Name | Declaration | Description |
|---|---|---|
onlyOnXZPlane | public bool onlyOnXZPlane | |
shakeIntensity | public float shakeIntensity | |
shakeInterval | public float shakeInterval | |
useUnscaledInterval | public bool useUnscaledInterval |
Methods
OnAttachToEntity(Entity)
csharp
public void OnAttachToEntity(Entity target)Parameters:
| Name | Type | Description |
|---|---|---|
target | Entity |
Update()
csharp
protected override void Update()ValueSetter(float)
csharp
protected override void ValueSetter(float value)Parameters:
| Name | Type | Description |
|---|---|---|
value | float |