SceneRenderAPI
Native scene rendering controls with explicit plugin lifecycle ownership.
Final classRLPlugins API
public final class SceneRenderAPIMembers
Static methods
- SceneRenderAPI.WallRecolorcreateWallRecolor(TileObjectEx)
Create wall recolor.
- voiddrawOutline(GraphicsObjectEx, int, Color, int)
Draw outline.
- voiddrawOutline(NpcEx, int, Color, int)
Draw from an overlay render callback so the outline belongs to the current frame.
- voiddrawOutline(PlayerEx, int, Color, int)
Draw outline.
- voiddrawOutline(TileObjectEx, int, Color, int)
Draw outline.
- SceneRenderAPI.ObjectVisibilityhideGameObjects(int, int, int...)
Hides only matching game objects; closing the token restores their rendered zones.
- SceneRenderAPI.RegistrationregisterVisibility(SceneRenderAPI.VisibilityFilter)
Register visibility.
- booleansetLocalPlayerFirstSpotAnimationFrame(int)
Sets the first live local-player spot animation's frame, in native iteration order.
- booleansetLocalPlayerVisualAnimation(int)
One-shot local visual animation change; does not send game input or alter other players.
- booleansetLocalPlayerVisualGraphic(int)
One-shot local visual graphic change using the pinned Actor graphic field.
createWallRecolor(TileObjectEx)static
public static SceneRenderAPI.WallRecolor createWallRecolor(TileObjectEx wall)Create wall recolor.
Parameters
wall- Wall.
drawOutline(GraphicsObjectEx, int, Color, int)static
public static void drawOutline(GraphicsObjectEx object, int width, Color color, int feather)Draw outline.
Parameters
object- Object.
width- Width.
color- Color.
feather- Feather.
drawOutline(NpcEx, int, Color, int)static
public static void drawOutline(NpcEx npc, int width, Color color, int feather)Draw from an overlay render callback so the outline belongs to the current frame.
Parameters
npc- Npc.
width- Width.
color- Color.
feather- Feather.
drawOutline(PlayerEx, int, Color, int)static
public static void drawOutline(PlayerEx player, int width, Color color, int feather)Draw outline.
Parameters
player- Player.
width- Width.
color- Color.
feather- Feather.
drawOutline(TileObjectEx, int, Color, int)static
public static void drawOutline(TileObjectEx object, int width, Color color, int feather)Draw outline.
Parameters
object- Object.
width- Width.
color- Color.
feather- Feather.
hideGameObjects(int, int, int...)static
public static SceneRenderAPI.ObjectVisibility hideGameObjects(int worldViewId, int plane, int... objectIds)Hides only matching game objects; closing the token restores their rendered zones.
Parameters
worldViewId- World view id.
plane- Plane.
objectIds- Object ids.
registerVisibility(SceneRenderAPI.VisibilityFilter)static
public static SceneRenderAPI.Registration registerVisibility(SceneRenderAPI.VisibilityFilter filter)Register visibility.
Parameters
filter- Filter.
setLocalPlayerFirstSpotAnimationFrame(int)static
public static boolean setLocalPlayerFirstSpotAnimationFrame(int frame)Sets the first live local-player spot animation's frame, in native iteration order.
Parameters
frame- Frame.
setLocalPlayerVisualAnimation(int)static
public static boolean setLocalPlayerVisualAnimation(int animationId)One-shot local visual animation change; does not send game input or alter other players.
Parameters
animationId- Animation id.
setLocalPlayerVisualGraphic(int)static
public static boolean setLocalPlayerVisualGraphic(int graphicId)One-shot local visual graphic change using the pinned Actor graphic field.
Parameters
graphicId- Graphic id.
Also allowed
Every class has these, as in plain Java.
equals, toString