mr_Sun : Light

mr_Sun - superclass: light; super-superclass:node - 27:10 - classID: #(1901083579, 635572516)

 

new.gif NEW in 3ds Max 9: The mr_Sun Photometric light provides physically-based sunlight, esp. in conjunction with the mr_Sun : Light and the mr_Physical_Sky : textureMap environment shader.

Constructor

mr_Sun...

mentalraySun...

Properties

<mr_Sun>.castShadows BooleanClass default: true -- boolean; Cast_Shadows

 

<mr_Sun>.color Color default: (color 255 242.25 229.5) -- color by value

 

<mr_Sun>.enabled BooleanClass default: true -- bool

 

<mr_Sun>.excludeList Array default: #() -- value

 

<mr_Sun>.hasTarget BooleanClass default: true -- boolean; Has_Target

 

<mr_Sun>.Haze Float default: 1.0 -- animatable; float

 

<mr_Sun>.HorizonHeight Float default: 0.0 -- animatable; float; Horizon_Height

 

<mr_Sun>.includeList UndefinedClass default: undefined -- value;

 

<mr_Sun>.inherit BooleanClass default: true -- boolean; Inherit_from_mr_Sky

 

<mr_Sun>.maxDepth Integer default: 7 -- animatable; integer; Max_Quadtree_Depth

 

<mr_Sun>.multiplier Float default: 1.0 -- animatable; float; intensity

 

<mr_Sun>.on BooleanClass default: true -- boolean

 

<mr_Sun>.photontarget Float default: 0.0 -- animatable; float; Photon_Target

 

<mr_Sun>.raytraceBias Float default: 0.2 -- animatable; float; Bias

 

<mr_Sun>.raytracedShadows BooleanClass default: true -- value

 

<mr_Sun>.redblueshift Float default: 0.0 -- animatable; float; Redness

 

<mr_Sun>.rgb Color default: (color 255 242.25 229.5) -- animatable; RGB color; Controller Scaling: ([1,1,1] : (color 255 255 255));

 

<mr_Sun>.Saturation Float default: 1.0 -- animatable; float

 

<mr_Sun>.shadowGenerator raytraceShadow default: raytraceShadow:raytraceShadow -- value; SubAnim

 

<mr_Sun>.shadowGeneratorByName String default: "Ray Traced Shadows" -- value

 

<mr_Sun>.shadowSamples Integer default: 8 -- integer; Shadow_Samples

 

<mr_Sun>.shadowSoftness Float default: 1.0 -- animatable; float; Shadow_Softness

 

<mr_Sun>.skymult Float default: 1.0 -- animatable; float; Multiplier

 

<mr_Sun>.targetDistance Float default: 240.0 -- animatable; float; Target_Distance

 

<mr_Sun>.twoSidedShadows BooleanClass default: false -- boolean

 

<mr_Sun>.useGlobalShadowSettings BooleanClass default: false -- boolean; Use_Global_Shadow_Settings

 

<mr_Sun>.usephotontarget BooleanClass default: false -- boolean; Use_Photon_Target

 

mr_Sun interfaces:

Interface: NaturalLightClass

Methods:

<boolean>isSun()

 

<boolean>isSky()

 

 

Interface: LightProperties

Properties:

.excludeList : value : Read|Write

 

.includeList : value : Read|Write

 

.shadowGenerator : value : Read|Write

 

.shadowGeneratorByName : value : Read|Write

 

.raytracedShadows : value : Read|Write

 

.color : color by value : Read|Write

 

.enabled : bool : Read|Write