forked from LeenkxTeam/LNXSDK
17 lines
505 B
Python
17 lines
505 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class SampleObjectPointsNode(LnxLogicTreeNode):
|
|
"""
|
|
Samples points and surface normals across a mesh object using a low-discrepancy distribution.
|
|
"""
|
|
bl_idname = 'LNSampleObjectPointsNode'
|
|
bl_label = 'Sample Object Points'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketObject', 'Object')
|
|
self.add_input('LnxIntSocket', 'Sample')
|
|
|
|
self.add_output('LnxNodeSocketArray', 'Point/Normal')
|