ModelPropDataclass
Generic prop settings. Support for this depends on the entity.
Constructors1
Showing 1 constructors
public ModelPropData()
No results match this filter.
Properties9
Showing 9 properties
public bool Sandbox.ModelEditor.Nodes.ModelPropData.BakeLighting { get; set; }
When this model is used as prop_static, it will bake lighting by default depending on this value.
bool—public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionDamage { get; set; }
Amount of damage to do at the center on the explosion. It will falloff over distance.
float—public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionForce { get; set; }
Scale of the force applied to entities damaged by the explosion and the models break pieces.
float—public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionRadius { get; set; }
Range of explosion's damage.
float—public bool Sandbox.ModelEditor.Nodes.ModelPropData.Explosive { get; set; }
If true we'll explode this prop when it's destroyed
bool—public bool Sandbox.ModelEditor.Nodes.ModelPropData.Flammable { get; set; }
If true well treat this prop as flammable, meaning it can catch fire and burn.
bool—public float Sandbox.ModelEditor.Nodes.ModelPropData.Health { get; set; }
When this model is used as prop_physics, it's health will be set to this value.
float—public float Sandbox.ModelEditor.Nodes.ModelPropData.ImpactDamage { get; set; }
The amount of damage this deals to other objects when it collides at high speed. If set to -1, this will be calculated from the mass of the rigidbody.
float—public float Sandbox.ModelEditor.Nodes.ModelPropData.MinImpactDamageSpeed { get; set; }
Minimum impact damage speed to break this object.
float—No results match this filter.