Skip to main content

CameraObjectFilter

interface CameraObjectFilter

A CameraObjectFilter allows you to override the camera's renderer filter. With CameraObjectFilter you can implement how you will filter all materials/bakes/etc from the camera.


public interface CameraObjectFilter

— Methods (5) —

NameDescription
boolean filterLight(Light light)Filters which Light the camera will render, and returns true to allow rendering and false to block.
boolean filterRenderer(ModelRenderer renderer)Filters which ModelRenderer the camera will render, and returns true to allow rendering and false to block.
boolean filterRenderer(SkinnedModelRenderer renderer)Filters which SkinnedModelRenderer the camera will render, and returns true to allow rendering and false to block.
boolean filterMaterialBake(Material material, Vertex bake)Filters which Vertex bake and Material the camera will render, and returns true to allow rendering and false to block.
boolean filter3DText(Component text)Filters which [3DText] the camera will render, and returns true to allow rendering and false to block.