Constructor
new IntersectionShape(shape1, shape2, params)
Constructor. The two shapes should be both local or both global
Parameters:
Name | Type | Description |
---|---|---|
shape1 |
Shape | the first shape |
shape2 |
Shape | the second shape |
params |
Object | parameters (basically which kind of max is used) |
Classes
Methods
onAdd(scene)
Additional actions to perform when the object is added to the scene. Propagate the call.
Parameters:
Name | Type | Description |
---|---|---|
scene |
Scene | the scene to which the object is added. |
setId(scene)
Set the ID of the shape. Propagate the call.
Parameters:
Name | Type | Description |
---|---|---|
scene |
Scene | the scene to which the object is added. |