Holomatix

Log In / Register


Purchase
Model.attachGeometry()

Usage

myModel.attachGeometry(sourceMovie:MovieClip, geometryName:String) : Void

Parameters

  • sourceMovie The MovieClip into which the swf file containing this geometry was loaded.
  • geometryName The linkage name by which the geometry is known.

Returns

Nothing.

Description

Method; selects the definition geometry that this model should use. Definition geometry will be contained in a 3d swf and loaded into a movie clip. To use the geometry you must specify both that movie clip and the identifier of the geometry.

When the movie clip containing the 3d swf is unloaded, the geometry will be unloaded with it and any models using that geometry will become empty.

Example

myModel.attachGeometry(mc3d, "handset");
 
Next >


© Copyright 2000-2011 Holomatix Ltd. All rights reserved.