Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Get whether mesh is seen by any camera, also applies to sprites or trail renderers if we don’t have a mesh renderer, otherwise false
returns a Boolean (true or false) value
Example:
1 | obj.isOnCamera() |