forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetObjectOffscreenNode(LnxLogicTreeNode):
|
||||
"""Returns if the given object is offscreen. Don't works if culling is disabled."""
|
||||
bl_idname = 'LNGetObjectOffscreenNode'
|
||||
bl_label = 'Get Object Offscreen'
|
||||
lnx_section = 'props'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.inputs.new('LnxNodeSocketObject', 'Object')
|
||||
|
||||
self.outputs.new('LnxBoolSocket', 'Is Object Offscreen')
|
||||
self.outputs.new('LnxBoolSocket', 'Is Mesh Offscreen')
|
||||
self.outputs.new('LnxBoolSocket', 'Is Shadow Offscreen')
|
Reference in New Issue
Block a user