mr_Sky_Portal : light

mr_sky_portal- superclass:light; super-superclass:node- classID:#(861693276, 941707697) 

Value > MAXWrapper > Node > Light > Photometric > mr_Sky_Portal

The mr_Sky_Portal light allows light from outdoors sources like skylight or HDRI environment maps to be transferred indoors. Available in 3ds Max 2008 and higher.

   

Constructors:

mr_sky_portal... mrSkylightPortal&ldots; 

   

Properties:

<mr_Sky_Portal>.on BooleanClass default: true -- animatable; boolean; Portal_Enabled 

Get/Set the enabled state of the portal.

   

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

Get/Set the multiplier value of the Portal.

   

<mr_Sky_Portal>.rgbFilter Color default: (color 255 255 255) -- animatable; fRGBA color; Filter_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1]) 

Get/Set the filter color.

   

Shadows

<mr_Sky_Portal>.castShadows BooleanClass default: true -- boolean 

Get/Set the whether light transmitted by the portal will cast shadows.

   

<mr_Sky_Portal>.extend_shadows BooleanClass default: false -- boolean 

Get/Set the whether light from "Outdoors" will cast shadows.

   

<mr_Sky_Portal>.shadow_samples Integer default: 3 -- integer; shadowSamples 

Get/Set the selection of the shadow samples drop-down list.

Possible values are:

0 - 2

1 - 4

2 - 8

3 - 16

4 - 32

5 - 64

6 - 128

7 - 256

8 - 512

9 - 1024

   

Dimensions

<mr_Sky_Portal>.light_length Float default: 100.0 -- animatable; float; Length 

Get/Set the length of the portal.

   

<mr_Sky_Portal>.light_width Float default: 100.0 -- animatable; float; Width 

Get/Set the width of the portal.

   

<mr_Sky_Portal>.reversed BooleanClass default: false -- boolean; Reversed_Flux_Direction 

Get/set the Flip Light Flux Direction option.When set to true, light will be transmitted in the opposite direction of the portal's arrow.

   

Advanced Parameterts

<mr_Sky_Portal>.Area_Visible BooleanClass default: false -- animatable; boolean; Visible 

Get/Set whether the Portal will be visible to the rendered or not.

   

<mr_Sky_Portal>.transparency Color default: (color 255 255 255) -- animatable; fRGBA color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); 

Get/Set the transparency of the portal when visible to the renderer.

   

<mr_Sky_Portal>.mode Integer default: 2 -- integer 

Get/Set the state of the Color Source radio button.

Possible values are:

0 - Custom

1 - Use Scene Environment

2 - Use existing Skylight

   

Other Properties

<mr_Sky_Portal>.cutoff Float default: 0.0 -- animatable; float; Cutoff_level 

Get/Set the Cutoff level.

   

<mr_Sky_Portal>.cutoff_rr BooleanClass default: false -- boolean; Unbiased_Cutoff__RR 

Get/Set whether to use Biased or Unbiased Cutoff.

   

<mr_Sky_Portal>.Map UndefinedClass default: undefined -- texturemap 

   

See Also