Table of Contents

Class SceneBoundaryDictionary

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Serializable dictionary mapping string keys to scene boundary details. Provides logic to check if a point is contained in any boundary.

[Serializable]
public class SceneBoundaryDictionary : SerializableDictionary<string, SceneBoundaryDetails>, IDictionary<string, SceneBoundaryDetails>, ICollection<KeyValuePair<string, SceneBoundaryDetails>>, IEnumerable<KeyValuePair<string, SceneBoundaryDetails>>, IDictionary, ICollection, IEnumerable, ISerializationCallbackReceiver, IDeserializationCallback, ISerializable
Inheritance
SceneBoundaryDictionary
Implements
ISerializationCallbackReceiver
Inherited Members

Methods

PointContainedInBoundaries(Vector3)

Checks if the given point is contained within any of the boundaries in the dictionary. Returns true if no boundaries are defined.

public bool PointContainedInBoundaries(Vector3 point)

Parameters

point Vector3

The point to check.

Returns

bool

True if the point is inside any boundary, or if no boundaries exist; false otherwise.