Class GrabbableInfo
- Namespace
- MonkeyLoader.Resonite.Events
- Assembly
- MonkeyLoader.Resonite.Integration.dll
Represents a complete set of information about the FrooxEngine.IGrabbables that a FrooxEngine.User is or was holding.
public sealed class GrabbableInfo
- Inheritance
-
GrabbableInfo
- Inherited Members
Remarks
The value and reference sources' boxed values and untyped references respectively, as well as the delegate proxies' untyped delegates are collected, since they're usually ephemeral and get removed as soon as they're dropped. All returned elements are automatically filtered to not contain any removed ones.
Constructors
GrabbableInfo(IEnumerable<IGrabbable>)
Creates a new instance of this class with the given original grabbables.
public GrabbableInfo(IEnumerable<IGrabbable> grabbables)
Parameters
grabbablesIEnumerable<IGrabbable>The grabbables to process and cache the usually ephemeral information from.
Properties
BoxedValues
Gets the boxed values of the FrooxEngine.IValueSources that were found in the original grabbables.
public IEnumerable<object> BoxedValues { get; }
Property Value
Empty
Gets an empty instance of the grabble info.
public static GrabbableInfo Empty { get; }
Property Value
Grabbables
Gets the non-removed grabbables from the original ones.
public IEnumerable<IGrabbable> Grabbables { get; }
Property Value
- IEnumerable<IGrabbable>
UntypedDelegates
Gets the Delegates with non-removed targets of the FrooxEngine.IDelegateProxys that were found in the original grabbables.
public IEnumerable<Delegate> UntypedDelegates { get; }
Property Value
UntypedReferences
Gets the non-removed untyped references of the FrooxEngine.IReferenceSources that were found in the original grabbables.
public IEnumerable<IWorldElement> UntypedReferences { get; }
Property Value
- IEnumerable<IWorldElement>