User Guide

region 949
See also
textureModeList, blendFunctionList, blendConstantList
reflectivity
Usage
member(whichCastmember).reflectivity
Description
3D shader property; allows you to get or set the shininess of the referenced member’s default
shader. The value is a floating point value representing the percentage of light to be reflected off
the surface of a model using the default shader, from 0.0 to 100.00. The default value is 0.0.
Example
This statement sets the shininess of the default shader in the cast member named Scene to 50%:
member("Scene").reflectivity = 50
region
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.region
modelResourceObjectReference.emitter.region
Description
3D emitter property; when used with a model resource whose type is #particle, allows you to
both get and set the
region property of the resource’s particle emitter.
The region property defines the location from which particles are emitted. If its value is a
single vector, then that vector is used to define a point in the 3D world from which particles
will be emitted.
If its value is a list of two vectors, then those vectors are used to define the end points of a line
segment from which particles will be emitted.
If its value is a list of four vectors, then those vectors are used to define the vertices of a
quadrilateral from which the particles will be emitted.
The default value for this property is [vector(0,0,0)].
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement specifies
the four corners of a rectangle from which the particles of ThermoSystem originate.
member("Fires").modelResource("ThermoSystem").emitter.region = \
[vector(20,90,100), vector(30,90,100), vector(30,100,100), \
vector(20,100,100)]
See also
emitter