Interface: INodeBakeProjProperties

This node interface exposes properties related to the texture baking projection settings of the object. See also the related Interface INodeBakeProperties topic.

   

Interface: INodeBakeProjProperties 

Properties:

<node>.enabled : boolean : Read|Write   

Enable/Disable Projection Baking for the node.

   

<node>.projectionMod : maxObject : Read|Write 

Get/Set the Projection Modifier.

   

<node>.projectionModTarget : string : Read|Write 

Get/Set the Projection Modifier Target.

   

<node>.cropAlpha : boolean : Read|Write 

Get/Set whether Alpha will be cropped.

   

<node>.projSpace : enum : Read|Write 

projSpace enums: {#raytrace|#uvw_match} 

Get/Set the Projection Space.

   

<node>.normalSpace : enum : Read|Write 

normalSpace enums: {#world|#screen|#local|#tangent} 

Get/Set the Normal Space.

   

<node>.tangentYDir : enum : Read|Write 

tangentYDir enums: {#Y_Up|#Y_Down} 

Get/Set the Y Tangent Direction.

   

<node>.tangentXDir : enum : Read|Write 

tangentXDir enums: {#X_Right|#X_Left} 

Get/Set the X Tangent Direction.

   

<node>.useCage : boolean : Read|Write 

Get/Set whether to use the Cage.

   

<node>.rayOffset : float : Read|Write 

Get/Set the Ray Offset value.

   

<node>.hitResolveMode : enum : Read|Write 

hitResolveMode enums: {#closest|#furthest} 

Get/Set the Hit Resolve Mode.

   

<node>.hitMatchMtlID : boolean : Read|Write 

Get/Set whether to match the Material IDs when projecting.

   

<node>.hitWorkingModel : boolean : Read|Write 

   

<node>.warnRayMiss : boolean : Read|Write 

Get/Set whether to warn of missed ray hits.

   

<node>.rayMissColor : color : Read|Write 

Get/Set the warn color for missed ray hits.

   

<node>.heightMapMin : float : Read|Write 

Get/Set the HeightMap Min. Value.

   

<node>.heightMapMax : float : Read|Write 

Get/Set the HeightMap Max. Value.

   

<node>.heightBufMin : float : Read|Write 

   

<node>.heightBufMax : float : Read|Write 

   

<node>.BakeObjectLevel : boolean : Read|Write 

   

<node>.BakeSubObjLevels : boolean : Read|Write 

   

<node>.useObjectBakeForMtl : boolean : Read|Write 

   

<node>.proportionalOutput : boolean : Read|Write 

   

<node>.subObjBakeChannel : integer : Read|Write 

   

Methods:

<boolean><node>.removeBakeElementByIndex <index>elementIndex 

Removes the indexed Bake Element.

   

<maxObject><node>.getBakeElement <index>index 

Returns the indexed Bake Element.

   

<index><node>.findByName <string>elementName 

Returns the index of the Bake Element with the supplied name.

   

<string><node>.paramName <maxObject>element <index>paramIndex 

Returns the name of the indexed parameter in the supplied Bake Element.

   

<integer><node>.paramType <maxObject>element <index>paramIndex 

Returns the type of the indexed parameter in the supplied Bake Element.

   

<integer><node>.paramValue <maxObject>element <index>paramIndex 

Returns the value of the indexed parameter in the supplied Bake Element.

   

<void><node>.setParamValue <maxObject>element <index>paramIndex <integer>paramValue 

Sets the value of the indexed parameter in the supplied Bake Element.

   

<index><node>.findParam <maxObject>element <string>paramName 

Returns the index of the supplied parameter name in the supplied Bake Element.

   

See Also