Show / Hide Table of Contents

Class RTreeElementCollection

Inheritance
object
RTreeElementCollection
Implements
IElementCollection
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.ElementCollections
Assembly: SlipeServer.Server.dll
Syntax
public class RTreeElementCollection : IElementCollection

Constructors

| Edit this page View Source

RTreeElementCollection()

Declaration
public RTreeElementCollection()

Properties

| Edit this page View Source

Count

Declaration
public int Count { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

Add(Element)

Declaration
public void Add(Element element)
Parameters
Type Name Description
Element element
| Edit this page View Source

Get(uint)

Declaration
public Element? Get(uint id)
Parameters
Type Name Description
uint id
Returns
Type Description
Element
| Edit this page View Source

GetAll()

Declaration
public IEnumerable<Element> GetAll()
Returns
Type Description
IEnumerable<Element>
| Edit this page View Source

GetByType<TElement>()

Declaration
public IEnumerable<TElement> GetByType<TElement>() where TElement : Element
Returns
Type Description
IEnumerable<TElement>
Type Parameters
Name Description
TElement
| Edit this page View Source

GetByType<TElement>(ElementType)

Declaration
public IEnumerable<TElement> GetByType<TElement>(ElementType elementType) where TElement : Element
Parameters
Type Name Description
ElementType elementType
Returns
Type Description
IEnumerable<TElement>
Type Parameters
Name Description
TElement
| Edit this page View Source

GetWithinRange(Vector3, float)

Declaration
public IEnumerable<Element> GetWithinRange(Vector3 position, float range)
Parameters
Type Name Description
Vector3 position
float range
Returns
Type Description
IEnumerable<Element>
| Edit this page View Source

GetWithinRange<TElement>(Vector3, float)

Declaration
public IEnumerable<TElement> GetWithinRange<TElement>(Vector3 position, float range) where TElement : Element
Parameters
Type Name Description
Vector3 position
float range
Returns
Type Description
IEnumerable<TElement>
Type Parameters
Name Description
TElement
| Edit this page View Source

GetWithinRange<TElement>(Vector3, float, ElementType)

Declaration
public IEnumerable<TElement> GetWithinRange<TElement>(Vector3 position, float range, ElementType elementType) where TElement : Element
Parameters
Type Name Description
Vector3 position
float range
ElementType elementType
Returns
Type Description
IEnumerable<TElement>
Type Parameters
Name Description
TElement
| Edit this page View Source

Remove(Element)

Declaration
public void Remove(Element element)
Parameters
Type Name Description
Element element

Implements

IElementCollection
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX