MaxPlus Python API Reference
Environment Class Reference
+ Inheritance diagram for Environment:

Public Member Functions

def AddLightToScene (*args)
 
def GetAmbient (*args)
 
def GetAmbientController ()
 
def GetLightConeConstraint ()
 
def GetLightLevel (*args)
 
def GetLightLevelController ()
 
def GetLightTint (*args)
 
def GetLightTintController ()
 
def GetMap ()
 
def GetMapEnabled ()
 
def SetAmbient (*args)
 
def SetAmbientController (*args)
 
def SetLightLevel (*args)
 
def SetLightLevelController (*args)
 
def SetLightTint (*args)
 
def SetLightTintController (*args)
 
def SetMap (*args)
 
def SetMapEnabled (*args)
 

Static Public Attributes

 AddLightToScene = staticmethod(AddLightToScene)
 
 GetAmbient = staticmethod(GetAmbient)
 
 GetAmbientController = staticmethod(GetAmbientController)
 
 GetLightConeConstraint = staticmethod(GetLightConeConstraint)
 
 GetLightLevel = staticmethod(GetLightLevel)
 
 GetLightLevelController = staticmethod(GetLightLevelController)
 
 GetLightTint = staticmethod(GetLightTint)
 
 GetLightTintController = staticmethod(GetLightTintController)
 
 GetMap = staticmethod(GetMap)
 
 GetMapEnabled = staticmethod(GetMapEnabled)
 
 SetAmbient = staticmethod(SetAmbient)
 
 SetAmbientController = staticmethod(SetAmbientController)
 
 SetLightLevel = staticmethod(SetLightLevel)
 
 SetLightLevelController = staticmethod(SetLightLevelController)
 
 SetLightTint = staticmethod(SetLightTint)
 
 SetLightTintController = staticmethod(SetLightTintController)
 
 SetMap = staticmethod(SetMap)
 
 SetMapEnabled = staticmethod(SetMapEnabled)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Environment related utility functions.

Member Function Documentation

◆ AddLightToScene()

def AddLightToScene ( args)
AddLightToScene(INode node)

◆ GetAmbient()

def GetAmbient ( args)
GetAmbient(TimeValue t=Autodesk::Max::Now(), Interval valid=Autodesk::Max::Forever()) -> Point3
GetAmbient(TimeValue t=Autodesk::Max::Now()) -> Point3
GetAmbient() -> Point3

◆ GetAmbientController()

def GetAmbientController ( )
GetAmbientController() -> Control

◆ GetLightConeConstraint()

def GetLightConeConstraint ( )
GetLightConeConstraint() -> float

◆ GetLightLevel()

def GetLightLevel ( args)
GetLightLevel(TimeValue t=Autodesk::Max::Now(), Interval valid=Autodesk::Max::Forever()) -> float
GetLightLevel(TimeValue t=Autodesk::Max::Now()) -> float
GetLightLevel() -> float

◆ GetLightLevelController()

def GetLightLevelController ( )
GetLightLevelController() -> Control

◆ GetLightTint()

def GetLightTint ( args)
GetLightTint(TimeValue t=Autodesk::Max::Now(), Interval valid=Autodesk::Max::Forever()) -> Point3
GetLightTint(TimeValue t=Autodesk::Max::Now()) -> Point3
GetLightTint() -> Point3

◆ GetLightTintController()

def GetLightTintController ( )
GetLightTintController() -> Control

◆ GetMap()

def GetMap ( )
GetMap() -> Texmap

◆ GetMapEnabled()

def GetMapEnabled ( )
GetMapEnabled() -> bool

◆ SetAmbient()

def SetAmbient ( args)
SetAmbient(Point3 col, TimeValue t=Autodesk::Max::Now())
SetAmbient(Point3 col)

◆ SetAmbientController()

def SetAmbientController ( args)
SetAmbientController(Control c)

◆ SetLightLevel()

def SetLightLevel ( args)
SetLightLevel(float lev, TimeValue t=Autodesk::Max::Now())
SetLightLevel(float lev)

◆ SetLightLevelController()

def SetLightLevelController ( args)
SetLightLevelController(Control c)

◆ SetLightTint()

def SetLightTint ( args)
SetLightTint(Point3 col, TimeValue t=Autodesk::Max::Now())
SetLightTint(Point3 col)

◆ SetLightTintController()

def SetLightTintController ( args)
SetLightTintController(Control c)

◆ SetMap()

def SetMap ( args)
SetMap(Texmap map)

◆ SetMapEnabled()

def SetMapEnabled ( args)
SetMapEnabled(bool onOff)