SceneRenderAPI.VisibilityFilter
Returning false hides only the supplied renderable; unhandled types remain visible.
InterfaceRLPlugins API
public interface SceneRenderAPI.VisibilityFilterMembers
Methods
- booleanshouldDrawDynamicObject(int, boolean)
Whether it should draw dynamic object.
- booleanshouldDrawGraphicsObject(GraphicsObjectEx, boolean)
Whether it should draw graphics object.
- booleanshouldDrawNpc(NpcEx, boolean)
Whether it should draw npc.
- booleanshouldDrawPlayer(PlayerEx, boolean)
Whether it should draw player.
- booleanshouldDrawProjectile(ProjectileEx, boolean)
Whether it should draw projectile.
shouldDrawDynamicObject(int, boolean)
public boolean shouldDrawDynamicObject(int animationId, boolean drawingUi)Whether it should draw dynamic object.
Parameters
animationId- Animation id.
drawingUi- Drawing ui.
shouldDrawGraphicsObject(GraphicsObjectEx, boolean)
public boolean shouldDrawGraphicsObject(GraphicsObjectEx object, boolean drawingUi)Whether it should draw graphics object.
Parameters
object- Object.
drawingUi- Drawing ui.
shouldDrawNpc(NpcEx, boolean)
public boolean shouldDrawNpc(NpcEx npc, boolean drawingUi)Whether it should draw npc.
Parameters
npc- Npc.
drawingUi- Drawing ui.
shouldDrawPlayer(PlayerEx, boolean)
public boolean shouldDrawPlayer(PlayerEx player, boolean drawingUi)Whether it should draw player.
Parameters
player- Player.
drawingUi- Drawing ui.
shouldDrawProjectile(ProjectileEx, boolean)
public boolean shouldDrawProjectile(ProjectileEx projectile, boolean drawingUi)Whether it should draw projectile.
Parameters
projectile- Projectile.
drawingUi- Drawing ui.
Also allowed
Every class has these, as in plain Java.
equals, toString