Class WorldElementExtensions
- Namespace
- MonkeyLoader.Resonite
- Assembly
- MonkeyLoader.Resonite.Core.dll
Contains extensions for world elements.
public static class WorldElementExtensions
- Inheritance
-
WorldElementExtensions
- Inherited Members
Methods
GetAllocatingUser(IWorldElement?)
Gets the allocating FrooxEngine.User of this world element.
public static User? GetAllocatingUser(this IWorldElement? element)
Parameters
elementIWorldElementThe world element to get the allocating FrooxEngine.User of.
Returns
- User
This world element's allocating FrooxEngine.User if valid; otherwise, null.
Remarks
Implementation is the same as the Allocating User ProtoFlux node.
TryGetAllocatingUser(IWorldElement?, out User?)
Tries to get the allocating FrooxEngine.User of this world element.
public static bool TryGetAllocatingUser(this IWorldElement? element, out User? user)
Parameters
elementIWorldElementThe world element to get the allocating FrooxEngine.User of.
userUserThis world element's allocating FrooxEngine.User if valid; otherwise, null.
Returns
Remarks
Implementation is the same as the Allocating User ProtoFlux node.