Cast Member Methods - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Property
Access
Get and set
emitter.drag
Get and set
emitter.gravi
ty
Get and set
emitter.wind
The extruder model resource
You can create extruder model resources only by using an existing text cast member. In many cases, you may choose
to use the 3D text capabilities of the Property inspector instead.
Creating an extruder model resource is simple. If member 1 is a text cast member and member 2 is a 3D cast member,
use the following script:
member(1).extrude3d(member(2))
This generates a model resource in member 2 that is an extrusion of the 2D text in member 1.
Extruder model resources inherit all the 3D-related properties of the source text cast member.
For example:
mr = member("text").extrude3d(member("3D"))
put mr.smoothness
-- 5
put mr.tunnelDepth
-- 50

Cast member methods

If the models and model resources you need aren't contained in a particular cast member, the following methods let
you create models and model resources by using other 3D cast members at runtime:
Description
A drag value affecting simulation at each anima-
tion step.
Vector representing simulated gravity. The
vector's length indicates its strength.
A vector representing simulated wind pushing
particles in a given direction. The vector's length
indicates its strength.
ADOBE DIRECTOR 11.0
Value Range
Percentage between
0.0
and
.
100.0
Any vector.
Any vector.
337
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents