Ambient_Occlusion : BakeElement

Ambient_Occlusion - superclass: BakeElement; super-superclass:MAXWrapper - 17:0 - classID: #(65547, 0) 

This BakeElement allows the Ambient Occlusion to be baked to a bitmap.

Available in 3ds Max 8 and higher.

Constructor

Ambient_Occlusion... AmbientOcclusionBakeElement... 

Properties

<Ambient_Occlusion>.autoSzOn BooleanClass default: false -- boolean; Auto_Size_On 

Enable/Disable AutoSize.

<Ambient_Occlusion>.bitmap UndefinedClass default: undefined -- bitmap 

Get the bake element’s bitmap. This property cannot be set through MAXScript.

<Ambient_Occlusion>.bright Color default: (color 255 255 255) -- fRGBA color 

Get/set the bright color of the ambient occlusion.

<Ambient_Occlusion>.dark Color default: (color 0 0 0 0) -- fRGBA color 

Get/set the dark color of the ambient occlusion.

<Ambient_Occlusion>.elementName String default: "Ambient Occlusion (MR)" -- string 

Get/Set the element name.

<Ambient_Occlusion>.enabled BooleanClass default: true -- boolean 

Get/Set the enabled state.

<Ambient_Occlusion>.falloff Float default: 1.0 -- float 

Get/set the falloff value.

<Ambient_Occlusion>.fileName Filenamedefault: "" -- string 

Get/Set the bake element file name.

<Ambient_Occlusion>.filenameUnique BooleanClass default: false -- boolean; Filename_Unique 

Get/set whether the file name should be made unique.

<Ambient_Occlusion>.fileType Filenamedefault: "" -- string 

Get/Set the file type.

<Ambient_Occlusion>.filterOn BooleanClass default: true -- boolean; FilteringOn 

Enable/Disable filtering.

<Ambient_Occlusion>.maxDistance Float default: 0.0 -- float; Max_Dist 

Get/set the maximum distance.

<Ambient_Occlusion>.outputSzX Integer default: 256 -- integer; output_width 

Get/set the output width.

<Ambient_Occlusion>.outputSzY Integer default: 256 -- integer; output_height 

Get/set the output height.

<Ambient_Occlusion>.samples Integer default: 16 -- integer 

Get/set the number of samples.

<Ambient_Occlusion>.spread Float default: 0.8 -- float 

Get/set the spread value.

<Ambient_Occlusion>.targetMapSlotName String default: "" -- string

Get/Set the name of the map slot where element output will be applied.