class re
Ui
re.Ui
- 0 properties
- 14 functions
Properties
None.
Functions
static bool BindOverlayProviderToSurface(ulong provider, ulong surface)staticextensionstatic ulong CreateNodeSurfaceOverlay(ulong node)staticextensionCreates a surface overlay on a streamed world mesh node (e.g. a billboard). Use the Surface Picker tool to get the identity. The overlay is applied whenever the node streams in. A surface belongs to one bundle until it is released or the bundle unloads. Calling this again from the same bundle returns the same handle, and it returns 0 when another bundle owns the node.
static ulong CreateOverlayProvider(string url, uint width, uint height, bool sixty_fps)staticextensionstatic ulong CreateSurfaceOverlay(ulong identity, CName component)staticextensionCreates a surface overlay on an entity's mesh components. If you don't specify a component all of them are targeted. A surface belongs to one bundle until it is released or the bundle unloads. Calling this again from the same bundle returns the same handle, and it returns 0 when another bundle owns the surface or an overlapping one.
static bool HasSurfaceOverlay(ulong identity, CName component)staticextensionReturns true if an overlay is already registered for this surface, by any bundle. A registration without a component covers every mesh component of the entity.
- identity
- Entity ID of the surface owner
- component
- Mesh component name, as passed to CreateSurfaceOverlay
void OnMessage<T>(string name, Action<T> func) where T : Serde.IDeserializeProvider<T>staticextensionstatic bool ReleaseOverlayProvider(ulong provider)staticextensionstatic bool ReleaseSurfaceOverlay(ulong surface)staticextensionvoid SendMessage<T>(T data) where T : Serde.ISerializeProvider<T>staticextension1 more overload
void SendMessageRaw(string payload)static void SetInputPolicy(bool accept_input, bool exclusive_input, bool cursor_active)staticextensionstatic bool SetOverlayProviderInputPolicy(ulong provider, bool accept_input, bool exclusive_input, bool cursor_active)staticextensionRoutes input to an overlay provider. Mouse input is projected from the cursor (or the screen center while the cursor is hidden) onto the surfaces the provider is bound to, keyboard input goes to the provider as is. Returns false if the provider is unknown or not owned by this bundle.
- provider
- Provider handle from CreateOverlayProvider
- accept_input
- Forward keyboard input and projected mouse input to the provider
- exclusive_input
- Stop the forwarded input from reaching the game
- cursor_active
- Show the cursor and project mouse input from it instead of the screen center
static bool ShowBodyGenderSelector(bool? continue_to_customization)staticextensionstatic bool UnbindOverlayProviderFromSurface(ulong provider, ulong surface)staticextension