Show / Hide Table of Contents

Class MyExplosionsConstants

Inheritance
System.Object
MyExplosionsConstants
Namespace: Sandbox.Game
Assembly: Sandbox.Game.dll
Syntax
public static class MyExplosionsConstants : Object

Fields

CAMERA_SHAKE_TIME_MS

Declaration
public static float CAMERA_SHAKE_TIME_MS
Field Value
Type Description
System.Single

CLOSE_EXPLOSION_DISTANCE

Declaration
public const float CLOSE_EXPLOSION_DISTANCE = 15F
Field Value
Type Description
System.Single

DAMAGE_SPARKS

Declaration
public const float DAMAGE_SPARKS = 0.4F
Field Value
Type Description
System.Single

EXPLOSION_EFFECT_SIZE_FOR_HUGE_EXPLOSION

Declaration
public const int EXPLOSION_EFFECT_SIZE_FOR_HUGE_EXPLOSION = 300
Field Value
Type Description
System.Int32

EXPLOSION_FORCE_RADIUS_MULTIPLIER

Declaration
public const float EXPLOSION_FORCE_RADIUS_MULTIPLIER = 0.33F
Field Value
Type Description
System.Single

EXPLOSION_LIFESPAN

Declaration
public const int EXPLOSION_LIFESPAN = 700
Field Value
Type Description
System.Int32

EXPLOSION_LIGHT_COLOR

Declaration
public static readonly Vector4 EXPLOSION_LIGHT_COLOR
Field Value
Type Description
Vector4

EXPLOSION_RADIUS_MAX

Declaration
public const float EXPLOSION_RADIUS_MAX = 100F
Field Value
Type Description
System.Single

EXPLOSION_RADIUS_MIN

Declaration
public const float EXPLOSION_RADIUS_MIN = 0.5F
Field Value
Type Description
System.Single

EXPLOSION_RADIUS_MULTIPLIER

Declaration
public const float EXPLOSION_RADIUS_MULTIPLIER = 1.25F
Field Value
Type Description
System.Single

EXPLOSION_RADIUS_MULTIPLIER_FOR_IMPULSE

Declaration
public const float EXPLOSION_RADIUS_MULTIPLIER_FOR_IMPULSE = 2F
Field Value
Type Description
System.Single

EXPLOSION_RADIUS_MULTPLIER_FOR_DIRT_GLASS_DECALS

Declaration
public const float EXPLOSION_RADIUS_MULTPLIER_FOR_DIRT_GLASS_DECALS = 3F
Field Value
Type Description
System.Single

EXPLOSION_RANDOM_RADIUS_MAX

Declaration
public const float EXPLOSION_RANDOM_RADIUS_MAX = 25F
Field Value
Type Description
System.Single

EXPLOSION_RANDOM_RADIUS_MIN

Declaration
public const float EXPLOSION_RANDOM_RADIUS_MIN = 20F
Field Value
Type Description
System.Single

EXPLOSION_STRENGTH_IMPULSE

Declaration
public const float EXPLOSION_STRENGTH_IMPULSE = 100F
Field Value
Type Description
System.Single

FRAMES_PER_SPARK

Declaration
public const int FRAMES_PER_SPARK = 30
Field Value
Type Description
System.Int32

MAX_EXPLOSIONS_COUNT

Declaration
public const int MAX_EXPLOSIONS_COUNT = 1024
Field Value
Type Description
System.Int32

MIN_OBJECT_SIZE_TO_CAUSE_EXPLOSION_AND_CREATE_DEBRIS

Declaration
public const int MIN_OBJECT_SIZE_TO_CAUSE_EXPLOSION_AND_CREATE_DEBRIS = 5
Field Value
Type Description
System.Int32

OFFSET_LINE_FOR_DIRT_DECAL

Declaration
public const float OFFSET_LINE_FOR_DIRT_DECAL = 0.5F
Field Value
Type Description
System.Single
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾