newspeoplefor developersdocumentationdownloads

nLightNode Script Interface

nlightnode:

Super Class:

C++ Class:

Info

Scene node which provides lighting information.

Commands:


settype

Command Input:
s(Type="Point","Directional","Spot")
Command Output:
v
Command Description:
Set the light's type.

gettype

Command Input:
v
Command Output:
s(Type="Point","Directional","Spot")
Command Description:
Get the light's type.

setcastshadows

Command Input:
b
Command Output:
v
Command Description:
Set the light to cast shadows or not.

getcastshadows

Command Input:
v
Command Output:
b
Command Description:
Check if light cast shadows.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.