<node3d>.modify

Apply a modifer to the object

 

<node3d>.modify(
    modifier    
    command = 0    
    mesg = ''    
    [x,y,z,w]    

)

 

modifier

A modifier object


command = 0

An optional command number you can send to the modifier


mesg = ''

An optional string you can send to the modifer.


[x,y,z,w]

An optional list of numbers you can send to the modifer


Remarks

This command will apply the given modifer to the object. Modifiers are used to apply custom special effects to objects, such as Cel-Shading.

Return Value

None

Example

toon = viz.add('toon.dlm')
ball = viz.add('ball.wrl')
ball.modify(toon)

See also

<node3d>.apply