Class DaggerfallStaticBuildings
Stores an array of buildings inside a block object. This provides the bridge between live scene data and game data. Used to hit-test buildings for identification and to locate in scene.
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallStaticBuildings : MonoBehaviour
Fields
| Improve this Doc View SourceBuildings
Declaration
public StaticBuilding[] Buildings
Field Value
Type | Description |
---|---|
StaticBuilding[] |
Methods
| Improve this Doc View SourceHasHit(Vector3, out StaticBuilding)
Check for a building hit in world space.
Declaration
public bool HasHit(Vector3 point, out StaticBuilding buildingOut)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | point | Hit point from ray test in world space. |
StaticBuilding | buildingOut | StaticBuilding out if hit found. |
Returns
Type | Description |
---|---|
Boolean | True if point hits a static building. |