API Referenceglobal
public sealed struct Sandbox.Surface.SurfacePrefabCollection
Holds a dictionary of common prefabs associated with a surface
Properties
Showing 2 properties
public Sandbox.GameObject Sandbox.Surface.SurfacePrefabCollection.BluntImpact { get; set; }
A prefab to spawn when this surface is hit by something blunt. The prefab should be spawned facing the same direction as the hit normal. It could include decals and particle effects. It should be parented to the surface that it hit.
public Sandbox.GameObject Sandbox.Surface.SurfacePrefabCollection.BulletImpact { get; set; }
A prefab to spawn when this surface is hit by a bullet. The prefab should be spawned facing the same direction as the hit normal. It could include decals and particle effects. It should be parented to the surface that it hit.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Surface.SurfacePrefabCollection |