Using Shapes

  Previous  Next

Functions Provided For Setting Shapes

The following table provides an overview of all functions to modify shapes:

Function

Description

void SetRenderingMode(int mode)

Sets the Rendering Mode. Please use a constant as described below for mode.

int GetRenderingMode()

Returns the currently set Rendering Mode.

void SetShapeType(int value)

Sets the Shape Type. Please use a constant as described below for value.

int GetShapeType()

Returns the currently set Shape Type.

void SetShapeAlignment(int value)

Sets the Shape Alignment, which is the orientation of the shapes related to the matrix. Please use a constant as described below for value.

int GetShapeAlignment()

Returns the currently set Shape Alignment.

void SetShapeRotation(int value)

Sets the Rotation Type. Please use a constant as described below for value.

int GetShapeRotation()

Returns the currently set Rotation Type.

void SetShapeOrigin(int type)

Sets the Origin Type. Please use a constant as described below for type.

int GetShapeOrigin()

Returns the currently set Origin Type.

 

Remarks

Not all effects which use shapes offer Rendering Mode. Therefore, the functions SetRenderingMode and GetRenderingMode are only available if the effect offers Rendering Mode.

Not all effects which use shapes offer Shape Alignment. Therefore, the functions SetShapeAlignment and GetShapeAlignment are only available if the effect offers Shape Alignment.

Not all effects which use shapes offer Shape Rotation. Therefore, the functions SetShapeRotation and GetShapeRotation are only available if the effect offers Shape Rotation.

Not all effects which use shapes offer Origin. Therefore, the functions SetShapeOrigin and GetShapeOrigin are only available if the effect offers Origin.

Also, the effects mostly offer just a selection of all the constants, which are listed below. The function SetRenderingMode will only set Rendering Modes which are offered by the effect. The function SetShapeType will only set Shape Types which are offered by the effect. The function SetShapeAlignment will only set Shape Alignments which are offered by the effect.

 

Rendering Mode Constants

Constant

Description

int RENDERING_MODE_SIMPLE

Sets the Rendering Mode to Simple.

int RENDERING_MODE_EXTENDED

Sets the Rendering Mode to Extended.

int RENDERING_MODE_BLOBBY

Sets the Rendering Mode to Blobby.

 

Shape Type Constants

Constant

Description

int SHAPE_TYPE_LINE

Sets the Shape Type to Line.

int SHAPE_TYPE_CURVE

Sets the Shape Type to Curve.

int SHAPE_TYPE_FILLED

Sets the Shape Type to Filled.

int SHAPE_TYPE_RECTANGLE_OUTLINED

Sets the Shape Type to Rectangle Outlined.

int SHAPE_TYPE_RECTANGLE_OUTLINED_IMPLODE

Sets the Shape Type to Rectangle Outlined Implode.

int SHAPE_TYPE_RECTANGLE_OUTLINED_EXPLODE

Sets the Shape Type to Rectangle Outlined Explode.

int SHAPE_TYPE_RECTANGLE_OUTLINED_PULSE

Sets the Shape Type to Rectangle Outlined Pulse.

int SHAPE_TYPE_RECTANGLE_FILLED

Sets the Shape Type to Rectangle Filled.

int SHAPE_TYPE_RECTANGLE_FILLED_IMPLODE

Sets the Shape Type to Rectangle Filled Implode.

int SHAPE_TYPE_RECTANGLE_FILLED_EXPLODE

Sets the Shape Type to Rectangle Filled Explode.

int SHAPE_TYPE_RECTANGLE_FILLED_PULSE

Sets the Shape Type to Rectangle Filled Pulse.

int SHAPE_TYPE_SQUARE_OUTLINED

Sets the Shape Type to Square Outlined.

int SHAPE_TYPE_SQUARE_OUTLINED_IMPLODE

Sets the Shape Type to Square Outlined Implode.

int SHAPE_TYPE_SQUARE_OUTLINED_EXPLODE

Sets the Shape Type to Square Outlined Explode.

int SHAPE_TYPE_SQUARE_OUTLINED_PULSE

Sets the Shape Type to Square Outlined Pulse.

int SHAPE_TYPE_SQUARE_FILLED

Sets the Shape Type to Square Filled.

int SHAPE_TYPE_SQUARE_FILLED_IMPLODE

Sets the Shape Type to Square Filled Implode.

int SHAPE_TYPE_SQUARE_FILLED_EXPLODE

Sets the Shape Type to Square Filled Explode.

int SHAPE_TYPE_SQUARE_FILLED_PULSE

Sets the Shape Type to Square Filled Pulse.

int SHAPE_TYPE_ELLIPSE_OUTLINED

Sets the Shape Type to Ellipse Outlined.

int SHAPE_TYPE_ELLIPSE_OUTLINED_IMPLODE

Sets the Shape Type to Ellipse Outlined Implode.

int SHAPE_TYPE_ELLIPSE_OUTLINED_EXPLODE

Sets the Shape Type to Ellipse Outlined Explode.

int SHAPE_TYPE_ELLIPSE_OUTLINED_PULSE

Sets the Shape Type to Ellipse Outlined Pulse.

int SHAPE_TYPE_ELLIPSE_FILLED

Sets the Shape Type to Ellipse Filled.

int SHAPE_TYPE_ELLIPSE_FILLED_IMPLODE

Sets the Shape Type to Ellipse Filled Implode.

int SHAPE_TYPE_ELLIPSE_FILLED_EXPLODE

Sets the Shape Type to Ellipse Filled Explode.

int SHAPE_TYPE_ELLIPSE_FILLED_PULSE

Sets the Shape Type to Ellipse Filled Pulse.

int SHAPE_TYPE_CIRCLE_OUTLINED

Sets the Shape Type to Circle Outlined.

int SHAPE_TYPE_CIRCLE_OUTLINED_IMPLODE

Sets the Shape Type to Circle Outlined Implode.

int SHAPE_TYPE_CIRCLE_OUTLINED_EXPLODE

Sets the Shape Type to Circle Outlined Explode.

int SHAPE_TYPE_CIRCLE_OUTLINED_PULSE

Sets the Shape Type to Circle Outlined Pulse.

int SHAPE_TYPE_CIRCLE_FILLED

Sets the Shape Type to Circle Filled.

int SHAPE_TYPE_CIRCLE_FILLED_IMPLODE

Sets the Shape Type to Circle Filled Implode.

int SHAPE_TYPE_CIRCLE_FILLED_EXPLODE

Sets the Shape Type to Circle Filled Explode.

int SHAPE_TYPE_CIRCLE_FILLED_PULSE

Sets the Shape Type to Circle Filled Pulse.

int SHAPE_TYPE_DIAMOND_OUTLINED

Sets the Shape Type to Diamond Outlined.

int SHAPE_TYPE_DIAMOND_OUTLINED_IMPLODE

Sets the Shape Type to Diamond Outlined Implode.

int SHAPE_TYPE_DIAMOND_OUTLINED_EXPLODE

Sets the Shape Type to Diamond Outlined Explode.

int SHAPE_TYPE_DIAMOND_OUTLINED_PULSE

Sets the Shape Type to Diamond Outlined Pulse.

int SHAPE_TYPE_DIAMOND_FILLED

Sets the Shape Type to Diamond Filled.

int SHAPE_TYPE_DIAMOND_FILLED_IMPLODE

Sets the Shape Type to Diamond Filled Implode.

int SHAPE_TYPE_DIAMOND_FILLED_EXPLODE

Sets the Shape Type to Diamond Filled Explode.

int SHAPE_TYPE_DIAMOND_FILLED_PULSE

Sets the Shape Type to Diamond Filled Pulse.

int SHAPE_TYPE_PENTAGON_OUTLINED

Sets the Shape Type to Pentagon Outlined.

int SHAPE_TYPE_PENTAGON_OUTLINED_IMPLODE

Sets the Shape Type to Pentagon Outlined Implode.

int SHAPE_TYPE_PENTAGON_OUTLINED_EXPLODE

Sets the Shape Type to Pentagon Outlined Explode.

int SHAPE_TYPE_PENTAGON_OUTLINED_PULSE

Sets the Shape Type to Pentagon Outlined Pulse.

int SHAPE_TYPE_PENTAGON_FILLED

Sets the Shape Type to Pentagon Filled.

int SHAPE_TYPE_PENTAGON_FILLED_IMPLODE

Sets the Shape Type to Pentagon Filled Implode.

int SHAPE_TYPE_PENTAGON_FILLED_EXPLODE

Sets the Shape Type to Pentagon Filled Explode.

int SHAPE_TYPE_PENTAGON_FILLED_PULSE

Sets the Shape Type to Pentagon Filled Pulse.

int SHAPE_TYPE_HEXAGON_OUTLINED

Sets the Shape Type to Hexagon Outlined.

int SHAPE_TYPE_HEXAGON_OUTLINED_IMPLODE

Sets the Shape Type to Hexagon Outlined Implode.

int SHAPE_TYPE_HEXAGON_OUTLINED_EXPLODE

Sets the Shape Type to Hexagon Outlined Explode.

int SHAPE_TYPE_HEXAGON_OUTLINED_PULSE

Sets the Shape Type to Hexagon Outlined Pulse.

int SHAPE_TYPE_HEXAGON_FILLED

Sets the Shape Type to Hexagon Filled.

int SHAPE_TYPE_HEXAGON_FILLED_IMPLODE

Sets the Shape Type to Hexagon Filled Implode.

int SHAPE_TYPE_HEXAGON_FILLED_EXPLODE

Sets the Shape Type to Hexagon Filled Explode.

int SHAPE_TYPE_HEXAGON_FILLED_PULSE

Sets the Shape Type to Hexagon Filled Pulse.

int SHAPE_TYPE_HEART_OUTLINED

Sets the Shape Type to Heart Outlined.

int SHAPE_TYPE_HEART_OUTLINED_IMPLODE

Sets the Shape Type to Heart Outlined Implode.

int SHAPE_TYPE_HEART_OUTLINED_EXPLODE

Sets the Shape Type to Heart Outlined Explode.

int SHAPE_TYPE_HEART_OUTLINED_PULSE

Sets the Shape Type to Heart Outlined Pulse.

int SHAPE_TYPE_HEART_FILLED

Sets the Shape Type to Heart Filled.

int SHAPE_TYPE_HEART_FILLED_IMPLODE

Sets the Shape Type to Heart Filled Implode.

int SHAPE_TYPE_HEART_FILLED_EXPLODE

Sets the Shape Type to Heart Filled Explode.

int SHAPE_TYPE_HEART_FILLED_PULSE

Sets the Shape Type to Heart Filled Pulse.

int SHAPE_TYPE_CROSS_OUTLINED

Sets the Shape Type to Cross Outlined.

int SHAPE_TYPE_CROSS_OUTLINED_IMPLODE

Sets the Shape Type to Cross Outlined Implode.

int SHAPE_TYPE_CROSS_OUTLINED_EXPLODE

Sets the Shape Type to Cross Outlined Explode.

int SHAPE_TYPE_CROSS_OUTLINED_PULSE

Sets the Shape Type to Cross Outlined Pulse.

int SHAPE_TYPE_CROSS_FILLED

Sets the Shape Type to Cross Filled.

int SHAPE_TYPE_CROSS_FILLED_IMPLODE

Sets the Shape Type to Cross Filled Implode.

int SHAPE_TYPE_CROSS_FILLED_EXPLODE

Sets the Shape Type to Cross Filled Explode.

int SHAPE_TYPE_CROSS_FILLED_PULSE

Sets the Shape Type to Cross Filled Pulse.

int SHAPE_TYPE_CROSS_STRAIGHT_OUTLINED

Sets the Shape Type to Cross Straight Outlined.

int SHAPE_TYPE_CROSS_STRAIGHT_OUTLINED_IMPLODE

Sets the Shape Type to Cross Straight Outlined Implode.

int SHAPE_TYPE_CROSS_STRAIGHT_OUTLINED_EXPLODE

Sets the Shape Type to Cross Straight Outlined Explode.

int SHAPE_TYPE_CROSS_STRAIGHT_OUTLINED_PULSE

Sets the Shape Type to Cross Straight Outlined Pulse.

int SHAPE_TYPE_CROSS_STRAIGHT_FILLED

Sets the Shape Type to Cross Straight Filled.

int SHAPE_TYPE_CROSS_STRAIGHT_FILLED_IMPLODE

Sets the Shape Type to Cross Straight Filled Implode.

int SHAPE_TYPE_CROSS_STRAIGHT_FILLED_EXPLODE

Sets the Shape Type to Cross Straight Filled Explode.

int SHAPE_TYPE_CROSS_STRAIGHT_FILLED_PULSE

Sets the Shape Type to Cross Straight Filled Pulse.

int SHAPE_TYPE_STAR_OUTLINED

Sets the Shape Type to Star Outlined.

int SHAPE_TYPE_STAR_OUTLINED_IMPLODE

Sets the Shape Type to Star Outlined Implode.

int SHAPE_TYPE_STAR_OUTLINED_EXPLODE

Sets the Shape Type to Star Outlined Explode.

int SHAPE_TYPE_STAR_OUTLINED_PULSE

Sets the Shape Type to Star Outlined Pulse.

int SHAPE_TYPE_STAR_FILLED

Sets the Shape Type to Star Filled.

int SHAPE_TYPE_STAR_FILLED_IMPLODE

Sets the Shape Type to Star Filled Implode.

int SHAPE_TYPE_STAR_FILLED_EXPLODE

Sets the Shape Type to Star Filled Explode.

int SHAPE_TYPE_STAR_FILLED_PULSE

Sets the Shape Type to Star Filled Pulse.

int SHAPE_TYPE_TRIANGLE_OUTLINED

Sets the Shape Type to Triangle Outlined.

int SHAPE_TYPE_TRIANGLE_OUTLINED_IMPLODE

Sets the Shape Type to Triangle Outlined Implode.

int SHAPE_TYPE_TRIANGLE_OUTLINED_EXPLODE

Sets the Shape Type to Triangle Outlined Explode.

int SHAPE_TYPE_TRIANGLE_OUTLINED_PULSE

Sets the Shape Type to Triangle Outlined Pulse.

int SHAPE_TYPE_TRIANGLE_FILLED

Sets the Shape Type to Triangle Filled.

int SHAPE_TYPE_TRIANGLE_FILLED_IMPLODE

Sets the Shape Type to Triangle Filled Implode.

int SHAPE_TYPE_TRIANGLE_FILLED_EXPLODE

Sets the Shape Type to Triangle Filled Explode.

int SHAPE_TYPE_TRIANGLE_FILLED_PULSE

Sets the Shape Type to Triangle Filled Pulse.

int SHAPE_TYPE_BOX_OUTLINED

Sets the Shape Type to 3D Box Outlined.

int SHAPE_TYPE_BOX_OUTLINED_IMPLODE

Sets the Shape Type to 3D Box Outlined Implode.

int SHAPE_TYPE_BOX_OUTLINED_EXPLODE

Sets the Shape Type to 3D Box Outlined Explode.

int SHAPE_TYPE_BOX_OUTLINED_PULSE

Sets the Shape Type to 3D Box Outlined Pulse.

int SHAPE_TYPE_BOX_UNFILLED

Sets the Shape Type to 3D Box Unfilled.

int SHAPE_TYPE_BOX_UNFILLED_IMPLODE

Sets the Shape Type to 3D Box Unfilled Implode.

int SHAPE_TYPE_BOX_UNFILLED_EXPLODE

Sets the Shape Type to 3D Box Unfilled Explode.

int SHAPE_TYPE_BOX_UNFILLED_PULSE

Sets the Shape Type to 3D Box Unfilled Pulse.

int SHAPE_TYPE_BOX_FILLED

Sets the Shape Type to 3D Box Filled.

int SHAPE_TYPE_BOX_FILLED_IMPLODE

Sets the Shape Type to 3D Box Filled Implode.

int SHAPE_TYPE_BOX_FILLED_EXPLODE

Sets the Shape Type to 3D Box Filled Explode.

int SHAPE_TYPE_BOX_FILLED_PULSE

Sets the Shape Type to 3D Box Filled Pulse.

int SHAPE_TYPE_CUBE_OUTLINED

Sets the Shape Type to 3D Cube Outlined.

int SHAPE_TYPE_CUBE_OUTLINED_IMPLODE

Sets the Shape Type to 3D Cube Outlined Implode.

int SHAPE_TYPE_CUBE_OUTLINED_EXPLODE

Sets the Shape Type to 3D Cube Outlined Explode.

int SHAPE_TYPE_CUBE_OUTLINED_PULSE

Sets the Shape Type to 3D Cube Outlined Pulse.

int SHAPE_TYPE_CUBE_UNFILLED

Sets the Shape Type to 3D Cube Unfilled.

int SHAPE_TYPE_CUBE_UNFILLED_IMPLODE

Sets the Shape Type to 3D Cube Unfilled Implode.

int SHAPE_TYPE_CUBE_UNFILLED_EXPLODE

Sets the Shape Type to 3D Cube Unfilled Explode.

int SHAPE_TYPE_CUBE_UNFILLED_PULSE

Sets the Shape Type to 3D Cube Unfilled Pulse.

int SHAPE_TYPE_CUBE_FILLED

Sets the Shape Type to 3D Cube Filled.

int SHAPE_TYPE_CUBE_FILLED_IMPLODE

Sets the Shape Type to 3D Cube Filled Implode.

int SHAPE_TYPE_CUBE_FILLED_EXPLODE

Sets the Shape Type to 3D Cube Filled Explode.

int SHAPE_TYPE_CUBE_FILLED_PULSE

Sets the Shape Type to 3D Cube Filled Pulse.

int SHAPE_TYPE_SPHERE_UNFILLED

Sets the Shape Type to 3D Sphere Unfilled.

int SHAPE_TYPE_SPHERE_UNFILLED_IMPLODE

Sets the Shape Type to 3D Sphere Unfilled Implode.

int SHAPE_TYPE_SPHERE_UNFILLED_EXPLODE

Sets the Shape Type to 3D Sphere Unfilled Explode.

int SHAPE_TYPE_SPHERE_UNFILLED_PULSE

Sets the Shape Type to 3D Sphere Unfilled Pulse.

int SHAPE_TYPE_SPHERE_FILLED

Sets the Shape Type to 3D Sphere Filled.

int SHAPE_TYPE_SPHERE_FILLED_IMPLODE

Sets the Shape Type to 3D Sphere Filled Implode.

int SHAPE_TYPE_SPHERE_FILLED_EXPLODE

Sets the Shape Type to 3D Sphere Filled Explode.

int SHAPE_TYPE_SPHERE_FILLED_PULSE

Sets the Shape Type to 3D Sphere Filled Pulse.

int SHAPE_TYPE_ELLIPSOID_UNFILLED

Sets the Shape Type to 3D Ellipsoid Unfilled.

int SHAPE_TYPE_ELLIPSOID_UNFILLED_IMPLODE

Sets the Shape Type to 3D Ellipsoid Unfilled Implode.

int SHAPE_TYPE_ELLIPSOID_UNFILLED_EXPLODE

Sets the Shape Type to 3D Ellipsoid Unfilled Explode.

int SHAPE_TYPE_ELLIPSOID_UNFILLED_PULSE

Sets the Shape Type to 3D Ellipsoid Unfilled Pulse.

int SHAPE_TYPE_ELLIPSOID_FILLED

Sets the Shape Type to 3D Ellipsoid Filled.

int SHAPE_TYPE_ELLIPSOID_FILLED_IMPLODE

Sets the Shape Type to 3D Ellipsoid Filled Implode.

int SHAPE_TYPE_ELLIPSOID_FILLED_EXPLODE

Sets the Shape Type to 3D Ellipsoid Filled Explode.

int SHAPE_TYPE_ELLIPSOID_FILLED_PULSE

Sets the Shape Type to 3D Ellipsoid Filled Pulse.

int SHAPE_TYPE_OCTAHEDRON_UNFILLED

Sets the Shape Type to 3D Octahedron Unfilled.

int SHAPE_TYPE_OCTAHEDRON_UNFILLED_IMPLODE

Sets the Shape Type to 3D Octahedron Unfilled Implode.

int SHAPE_TYPE_OCTAHEDRON_UNFILLED_EXPLODE

Sets the Shape Type to 3D Octahedron Unfilled Explode.

int SHAPE_TYPE_OCTAHEDRON_UNFILLED_PULSE

Sets the Shape Type to 3D Octahedron Unfilled Pulse.

int SHAPE_TYPE_OCTAHEDRON_FILLED

Sets the Shape Type to 3D Octahedron Filled.

int SHAPE_TYPE_OCTAHEDRON_FILLED_IMPLODE

Sets the Shape Type to 3D Octahedron Filled Implode.

int SHAPE_TYPE_OCTAHEDRON_FILLED_EXPLODE

Sets the Shape Type to 3D Octahedron Filled Explode.

int SHAPE_TYPE_OCTAHEDRON_FILLED_PULSE

Sets the Shape Type to 3D Octahedron Filled Pulse.

int SHAPE_TYPE_3D_HEART_UNFILLED

Sets the Shape Type to 3D Heart Unfilled.

int SHAPE_TYPE_3D_HEART_UNFILLED_IMPLODE

Sets the Shape Type to 3D Heart Unfilled Implode.

int SHAPE_TYPE_3D_HEART_UNFILLED_EXPLODE

Sets the Shape Type to 3D Heart Unfilled Explode.

int SHAPE_TYPE_3D_HEART_UNFILLED_PULSE

Sets the Shape Type to 3D Heart Unfilled Pulse.

int SHAPE_TYPE_3D_HEART_FILLED

Sets the Shape Type to 3D Heart Filled.

int SHAPE_TYPE_3D_HEART_FILLED_IMPLODE

Sets the Shape Type to 3D Heart Filled Implode.

int SHAPE_TYPE_3D_HEART_FILLED_EXPLODE

Sets the Shape Type to 3D Heart Filled Explode.

int SHAPE_TYPE_3D_HEART_FILLED_PULSE

Sets the Shape Type to 3D Heart Filled Pulse.

int SHAPE_TYPE_3D_STAR_UNFILLED

Sets the Shape Type to 3D Star Unfilled.

int SHAPE_TYPE_3D_STAR_UNFILLED_IMPLODE

Sets the Shape Type to 3D Star Unfilled Implode.

int SHAPE_TYPE_3D_STAR_UNFILLED_EXPLODE

Sets the Shape Type to 3D Star Unfilled Explode.

int SHAPE_TYPE_3D_STAR_UNFILLED_PULSE

Sets the Shape Type to 3D Star Unfilled Pulse.

int SHAPE_TYPE_3D_STAR_FILLED

Sets the Shape Type to 3D Star Filled.

int SHAPE_TYPE_3D_STAR_FILLED_IMPLODE

Sets the Shape Type to 3D Star Filled Implode.

int SHAPE_TYPE_3D_STAR_FILLED_EXPLODE

Sets the Shape Type to 3D Star Filled Explode.

int SHAPE_TYPE_3D_STAR_FILLED_PULSE

Sets the Shape Type to 3D Star Filled Pulse.

int SHAPE_TYPE_3D_CROSS_UNFILLED

Sets the Shape Type to 3D Cross Unfilled.

int SHAPE_TYPE_3D_CROSS_UNFILLED_IMPLODE

Sets the Shape Type to 3D Cross Unfilled Implode.

int SHAPE_TYPE_3D_CROSS_UNFILLED_EXPLODE

Sets the Shape Type to 3D Cross Unfilled Explode.

int SHAPE_TYPE_3D_CROSS_UNFILLED_PULSE

Sets the Shape Type to 3D Cross Unfilled Pulse.

int SHAPE_TYPE_3D_CROSS_FILLED

Sets the Shape Type to 3D Cross Filled.

int SHAPE_TYPE_3D_CROSS_FILLED_IMPLODE

Sets the Shape Type to 3D Cross Filled Implode.

int SHAPE_TYPE_3D_CROSS_FILLED_EXPLODE

Sets the Shape Type to 3D Cross Filled Explode.

int SHAPE_TYPE_3D_CROSS_FILLED_PULSE

Sets the Shape Type to 3D Cross Filled Pulse.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_UNFILLED

Sets the Shape Type to 3D Cross Straight Unfilled.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_UNFILLED_IMPLODE

Sets the Shape Type to 3D Cross Straight Unfilled Implode.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_UNFILLED_EXPLODE

Sets the Shape Type to 3D Cross Straight Unfilled Explode.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_UNFILLED_PULSE

Sets the Shape Type to 3D Cross Straight Unfilled Pulse.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_FILLED

Sets the Shape Type to 3D Cross Straight Filled.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_FILLED_IMPLODE

Sets the Shape Type to 3D Cross Straight Filled Implode.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_FILLED_EXPLODE

Sets the Shape Type to 3D Cross Straight Filled Explode.

int SHAPE_TYPE_3D_CROSS_STRAIGHT_FILLED_PULSE

Sets the Shape Type to 3D Cross Straight Filled Pulse.

int SHAPE_TYPE_PYRAMID_UNFILLED

Sets the Shape Type to 3D Pyramid Unfilled.

int SHAPE_TYPE_PYRAMID_UNFILLED_IMPLODE

Sets the Shape Type to 3D Pyramid Unfilled Implode.

int SHAPE_TYPE_PYRAMID_UNFILLED_EXPLODE

Sets the Shape Type to 3D Pyramid Unfilled Explode.

int SHAPE_TYPE_PYRAMID_UNFILLED_PULSE

Sets the Shape Type to 3D Pyramid Unfilled Pulse.

int SHAPE_TYPE_PYRAMID_FILLED

Sets the Shape Type to 3D Pyramid Filled.

int SHAPE_TYPE_PYRAMID_FILLED_IMPLODE

Sets the Shape Type to 3D Pyramid Filled Implode.

int SHAPE_TYPE_PYRAMID_FILLED_EXPLODE

Sets the Shape Type to 3D Pyramid Filled Explode.

int SHAPE_TYPE_PYRAMID_FILLED_PULSE

Sets the Shape Type to 3D Pyramid Filled Pulse.

int SHAPE_TYPE_TEXT

Sets the Shape Type to Text.

int SHAPE_TYPE_WAVE_LINEAR

Sets the Shape Type to Wave Linear.

int SHAPE_TYPE_WAVE_RADAR

Sets the Shape Type to Wave Radar.

int SHAPE_TYPE_WAVE_HELIX

Sets the Shape Type to Wave Helix.

int SHAPE_TYPE_WAVE_CIRCLE

Sets the Shape Type to Wave Circle.

int SHAPE_TYPE_WAVE_SQUARE

Sets the Shape Type to Wave Square.

int SHAPE_TYPE_WAVE_DIAMOND

Sets the Shape Type to Wave Diamond.

int SHAPE_TYPE_WAVE_SPHERE

Sets the Shape Type to Wave Sphere.

int SHAPE_TYPE_WAVE_CUBE

Sets the Shape Type to Wave Cube.

int SHAPE_TYPE_WAVE_OCTAHEDRON

Sets the Shape Type to Wave Octahedron.

int SHAPE_TYPE_RANDOM

Selects an available Shape Type for each shape randomly. Sets the Shape Type to Random.

int SHAPE_TYPE_RANDOM_STATIC

Sets the Shape Type to Random Static.

int SHAPE_TYPE_RANDOM_IMPLODE

Sets the Shape Type to Random Implode.

int SHAPE_TYPE_RANDOM_EXPLODE

Sets the Shape Type to Random Explode.

int SHAPE_TYPE_RANDOM_PULSE

Sets the Shape Type to Random Pulse.

int SHAPE_TYPE_RANDOM_OUTLINED

Sets the Shape Type to Random Outlined.

int SHAPE_TYPE_RANDOM_OUTLINED_STATIC

Sets the Shape Type to Random Outlined Static.

int SHAPE_TYPE_RANDOM_OUTLINED_IMPLODE

Sets the Shape Type to Random Outlined Implode.

int SHAPE_TYPE_RANDOM_OUTLINED_EXPLODE

Sets the Shape Type to Random Outlined Explode.

int SHAPE_TYPE_RANDOM_OUTLINED_PULSE

Sets the Shape Type to Random Outlined Pulse.

int SHAPE_TYPE_RANDOM_UNFILLED

Sets the Shape Type to Random Unfilled.

int SHAPE_TYPE_RANDOM_UNFILLED_STATIC

Sets the Shape Type to Random Unfilled Static.

int SHAPE_TYPE_RANDOM_UNFILLED_IMPLODE

Sets the Shape Type to Random Unfilled Implode.

int SHAPE_TYPE_RANDOM_UNFILLED_EXPLODE

Sets the Shape Type to Random Unfilled Explode.

int SHAPE_TYPE_RANDOM_UNFILLED_PULSE

Sets the Shape Type to Random Unfilled Pulse.

int SHAPE_TYPE_RANDOM_FILLED

Sets the Shape Type to Random Filled.

int SHAPE_TYPE_RANDOM_FILLED_STATIC

Sets the Shape Type to Random Filled Static.

int SHAPE_TYPE_RANDOM_FILLED_IMPLODE

Sets the Shape Type to Random Filled Implode.

int SHAPE_TYPE_RANDOM_FILLED_EXPLODE

Sets the Shape Type to Random Filled Explode.

int SHAPE_TYPE_RANDOM_FILLED_PULSE

Sets the Shape Type to Random Filled Pulse.

int SHAPE_TYPE_2D_RANDOM

Sets the Shape Type to 2D Random.

int SHAPE_TYPE_2D_RANDOM_STATIC

Sets the Shape Type to 2D Random Static.

int SHAPE_TYPE_2D_RANDOM_IMPLODE

Sets the Shape Type to 2D Random Implode.

int SHAPE_TYPE_2D_RANDOM_EXPLODE

Sets the Shape Type to 2D Random Explode.

int SHAPE_TYPE_2D_RANDOM_PULSE

Sets the Shape Type to 2D Random Pulse.

int SHAPE_TYPE_2D_RANDOM_OUTLINED

Sets the Shape Type to 2D Random Outlined.

int SHAPE_TYPE_2D_RANDOM_OUTLINED_STATIC

Sets the Shape Type to 2D Random Outlined Static.

int SHAPE_TYPE_2D_RANDOM_OUTLINED_IMPLODE

Sets the Shape Type to 2D Random Outlined Implode.

int SHAPE_TYPE_2D_RANDOM_OUTLINED_EXPLODE

Sets the Shape Type to 2D Random Outlined Explode.

int SHAPE_TYPE_2D_RANDOM_OUTLINED_PULSE

Sets the Shape Type to 2D Random Outlined Pulse.

int SHAPE_TYPE_2D_RANDOM_FILLED

Sets the Shape Type to 2D Random Filled.

int SHAPE_TYPE_2D_RANDOM_FILLED_STATIC

Sets the Shape Type to 2D Random Filled Static.

int SHAPE_TYPE_2D_RANDOM_FILLED_IMPLODE

Sets the Shape Type to 2D Random Filled Implode.

int SHAPE_TYPE_2D_RANDOM_FILLED_EXPLODE

Sets the Shape Type to 2D Random Filled Explode.

int SHAPE_TYPE_2D_RANDOM_FILLED_PULSE

Sets the Shape Type to 2D Random Filled Pulse.

int SHAPE_TYPE_3D_RANDOM

Sets the Shape Type to 3D Random.

int SHAPE_TYPE_3D_RANDOM_STATIC

Sets the Shape Type to 3D Random Static.

int SHAPE_TYPE_3D_RANDOM_IMPLODE

Sets the Shape Type to 3D Random Implode.

int SHAPE_TYPE_3D_RANDOM_EXPLODE

Sets the Shape Type to 3D Random Explode.

int SHAPE_TYPE_3D_RANDOM_PULSE

Sets the Shape Type to 3D Random Pulse.

int SHAPE_TYPE_3D_RANDOM_UNFILLED

Sets the Shape Type to 3D Random Unfilled.

int SHAPE_TYPE_3D_RANDOM_UNFILLED_STATIC

Sets the Shape Type to 3D Random Unfilled Static.

int SHAPE_TYPE_3D_RANDOM_UNFILLED_IMPLODE

Sets the Shape Type to 3D Random Unfilled Implode.

int SHAPE_TYPE_3D_RANDOM_UNFILLED_EXPLODE

Sets the Shape Type to 3D Random Unfilled Explode.

int SHAPE_TYPE_3D_RANDOM_UNFILLED_PULSE

Sets the Shape Type to 3D Random Unfilled Pulse.

int SHAPE_TYPE_3D_RANDOM_FILLED

Sets the Shape Type to 3D Random Filled.

int SHAPE_TYPE_3D_RANDOM_FILLED_STATIC

Sets the Shape Type to 3D Random Filled Static.

int SHAPE_TYPE_3D_RANDOM_FILLED_IMPLODE

Sets the Shape Type to 3D Random Filled Implode.

int SHAPE_TYPE_3D_RANDOM_FILLED_EXPLODE

Sets the Shape Type to 3D Random Filled Explode.

int SHAPE_TYPE_3D_RANDOM_FILLED_PULSE

Sets the Shape Type to 3D Random Filled Pulse.

 

Shape Alignment Constants

Constant

Description

int LOOKAT_FRONT

Sets the Shape Alignment to Front.

int LOOKAT_BACK

Sets the Shape Alignment to Back.

int LOOKAT_LEFT

Sets the Shape Alignment to Left.

int LOOKAT_RIGHT

Sets the Shape Alignment to Right.

int LOOKAT_TOP

Sets the Shape Alignment to Top.

int LOOKAT_BOTTOM

Sets the Shape Alignment to Bottom.

int LOOKAT_RANDOM

Selects an available Shape Alignment for each shape randomly. Sets the Shape Alignment to Random.

 

 

Rotation Mode Constants

Constant

Description

int ROTATION_CCW_0

Does not activate Rotation. Is the same as ROTATION_CW_0.

int ROTATION_CCW_90

Rotates by 90 degrees in counter-clockwise direction. Is the same as ROTATION_CW_270.

int ROTATION_CCW_180

Rotates by 180 degrees in counter-clockwise direction. Is the same as ROTATION_CW_180.

int ROTATION_CCW_270

Rotates by 270 degrees in counter-clockwise direction. Is the same as ROTATION_CW_90.

int ROTATION_CW_0

Does not activate Rotation. Is the same as ROTATION_CCW_0.

int ROTATION_CW_90

Rotates by 90 degrees in clockwise direction. Is the same as ROTATION_CCW_270.

int ROTATION_CW_180

Rotates by 180 degrees in clockwise direction. Is the same as ROTATION_CCW_180.

int ROTATION_CW_270

Rotates by 270 degrees in clockwise direction. Is the same as ROTATION_CCW_90.

int ROTATION_RANDOM

Selects an available Rotation for each shape randomly. Sets the Rotation Mode to Random.

 

Origin Type Constants

Constant

Description

int ORIGIN_CENTER

Sets the Origin Type to Center.

int ORIGIN_GEOMETRIC_CENTER

Sets the Origin Type to Geometric Center.

int ORIGIN_FRONT

Sets the Origin Type to Front.

int ORIGIN_BACK

Sets the Origin Type to Back.

int ORIGIN_LEFT

Sets the Origin Type to Left.

int ORIGIN_RIGHT

Sets the Origin Type to Right.

int ORIGIN_TOP

Sets the Origin Type to Top.

int ORIGIN_BOTTOM

Sets the Origin Type to Bottom.

int ORIGIN_TOP_LEFT

Sets the Origin Type to Top Left.

int ORIGIN_TOP_RIGHT

Sets the Origin Type to Top Right.

int ORIGIN_BOTTOM_LEFT

Sets the Origin Type to Bottom Left.

int ORIGIN_BOTTOM_RIGHT

Sets the Origin Type to Bottom Right.

int ORIGIN_FRONT_LEFT

Sets the Origin Type to Front Left.

int ORIGIN_FRONT_RIGHT

Sets the Origin Type to Front Right.

int ORIGIN_BACK_LEFT

Sets the Origin Type to Back Left.

int ORIGIN_BACK_RIGHT

Sets the Origin Type to Back Right.

int ORIGIN_FRONT_TOP

Sets the Origin Type to Front Top.

int ORIGIN_FRONT_BOTTOM

Sets the Origin Type to Front Bottom.

int ORIGIN_BACK_TOP

Sets the Origin Type to Back Top.

int ORIGIN_BACK_BOTTOM

Sets the Origin Type to Back Bottom.

int ORIGIN_FRONT_TOP_LEFT

Sets the Origin Type to Front Top Left.

int ORIGIN_FRONT_TOP_RIGHT

Sets the Origin Type to Front Top Right.

int ORIGIN_FRONT_BOTTOM_LEFT

Sets the Origin Type to Front Bottom Left.

int ORIGIN_FRONT_BOTTOM_RIGHT

Sets the Origin Type to Front Bottom Right.

int ORIGIN_BACK_TOP_LEFT

Sets the Origin Type to Back Top Left.

int ORIGIN_BACK_TOP_RIGHT

Sets the Origin Type to Back Top Right.

int ORIGIN_BACK_BOTTOM_LEFT

Sets the Origin Type to Back Bottom Left.

int ORIGIN_BACK_BOTTOM_RIGHT

Sets the Origin Type to Back Bottom Right.

 

 

Example

This example changes the shape type each second in a predefined order. It works with the »SCE Shapes effect, for example.

@scriptname="";
@author="";
@version="";
@description="";
 
int g_startTime;
int g_run;
 
void InitEffect()
{
 timecode tc = GetTime();
 g_startTime = tc.hour * 3600 + tc.min * 60 + tc.sec;
 
 g_run = 0;
}
 
void PreRenderEffect()
{
 timecode tc = GetTime();
 int t2 = tc.hour * 3600 + tc.min * 60 + tc.sec;
 
 if(t2 - g_startTime >= 1)
 {
         g_startTime = t2;
         switch(g_run % 6)
         {
         case 0:        SetShapeType(SHAPE_TYPE_CIRCLE_OUTLINED_EXPLODE);        break;
         case 1:        SetShapeType(SHAPE_TYPE_CIRCLE_OUTLINED);                break;
         case 2:        SetShapeType(SHAPE_TYPE_CIRCLE_OUTLINED_IMPLODE);        break;
         case 3:        SetShapeType(SHAPE_TYPE_SQUARE_OUTLINED_EXPLODE);        break;
         case 4:        SetShapeType(SHAPE_TYPE_SQUARE_OUTLINED);                break;
         case 5:        SetShapeType(SHAPE_TYPE_SQUARE_OUTLINED_IMPLODE);        break;
         default:        break;
         }
         g_run++;
 }
}
 
void PostRenderEffect()
{
 
}
 
void MatrixSizeChanged()
{
    InitEffect();
}
 
 

 

MADRIX Version: 5.6 | Script Version: 3.18
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
 Previous   Next

 


Enable automatic translation | Activer la traduction automatique |