Using Shape Table

   Print  Previous  Next

Functions Provided For Using The Shape Table

The following table provides an overview of all functions the effect can use to modify the shapes in a Shape Table:

Function

Description

void SetRenderingMode(int mode)

Sets the Rendering Mode. See below for details.

int GetRenderingMode()

Returns the current Rendering Mode.

int ShapeTableGetShapeCount()

Returns the current number of shapes in the Shape Table.

void ShapeTableMoveShapeUp(int index)

Moves a shape with its specified index up a place in the Shape Table.

void ShapeTableMoveShapeDown(int index)

Moves a shape with its specified index down a place in the Shape Table.

void ShapeTableSwapShapes(int index1, int index2)

Swaps shapes with their specified indices in the Shape Table.

void ShapeTableAddShape(int index, int type, int alignment, float innerglow, float border, float outerglow, int origin, float minsize)

Adds another shape to the Shape Table at the specified index position. If the index is 0, the new shape is added to the first position. If the index is equal to or greater than the current number of shapes, the new shape is added at the end.

void ShapeTableRemoveShape(int index)

Removes the shape at the specified index. If the given index is out of range, nothing happens.

void ShapeTableSetShapeType(int index, int type)

Sets the shape Type for the shape with the specified index in the Shape Table. See below for details.

int ShapeTableGetShapeType(int index)

Returns the shape Type for the shape with the specified index in the Shape Table.

void ShapeTableSetShapeAlignment(int index, int alignment)

Sets the shape Alignment for the shape with the specified index in the Shape Table. See below for details.

int ShapeTableGetShapeAlignment(int index)

Returns the shape Alignment for the shape with the specified index in the Shape Table.

void ShapeTableSetShapeOrigin(int index, int origin)

Sets the Origin for the shape with the specified index in the Shape Table. See below for details.

int ShapeTableGetShapeOrigin(int index)

Returns the Origin for the shape with the specified index in the Shape Table.

void ShapeTableSetShapeInnerGlow(int index, float value)

Sets the Inner Glow for the shape with the specified index in the Shape Table.

float ShapeTableGetShapeInnerGlow(int index)

Returns the Inner Glow for the shape with the specified index in the Shape Table.

void ShapeTableSetShapeBorder(int index, float value)

Sets the Border for the shape with the specified index in the Shape Table.

float ShapeTableGetShapeBorder(int index)

Returns the Border for the shape with the specified index in the Shape Table.

void ShapeTableSetShapeOuterGlow(int index, float value)

Sets the Outer Glow for the shape with the specified index in the Shape Table.

float ShapeTableGetShapeOuterGlow(int index)

Returns the Outer Glow for the shape with the specified index in the Shape Table.

void ShapeTableSetMode(int mode)

Sets the Shape Table Mode. See below for details.

int ShapeTableGetMode()

Returns the current Shape Table Mode.

int ShapeTableSetShapeMinSize(int index, float minsize)

Sets the Minimum Size (Size MIN) for the shape with the specified index in the Shape Table.

int ShapeTableGetShapeMinSize(int index)

Returns the current Size MIN for the shape with the specified index in the Shape Table.

 

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 Shape Table offer Shape Table Mode. Therefore, the functions ShapeTableSetMode and ShapeTableGetMode are only available if the effect offers Shape Table Mode.

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.

 

 

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.

 

 

Shape Table Mode Constants

Constant

Description

int SHAPETABLE_MODE_LOOP

The shapes of the list will be used one after another in a loop.

int SHAPETABLE_MODE_SHUFFLE

The shapes of the list will be used without a specific order.

 

Example

This example adds three shapes to the shape table each time it is executed. The shapes have a random shape type (circle, square or triangle) and a different border. The example works with the »SCE Rotating Shapes effect, for example.

@scriptname="";

@author="";

@version="";

@description="";

 

void InitEffect()

{

    int count = ShapeTableGetShapeCount();

    int type = SHAPE_TYPE_CIRCLE_OUTLINED;

 

    switch (random(0, 2))

    {

    case 0:

            WriteText("Adding circles ...");

        type = SHAPE_TYPE_CIRCLE_OUTLINED;

        break;

    case 1:

            WriteText("Adding squares ...");

        type = SHAPE_TYPE_SQUARE_OUTLINED;

        break;

    case 2:

            WriteText("Adding triangles ...");

        type = SHAPE_TYPE_TRIANGLE_OUTLINED;

        break;

    }

 

    ShapeTableAddShape(count++, type, LOOKAT_FRONT, 20.0, 20.0, 20.0);

    ShapeTableAddShape(count++, type, LOOKAT_FRONT, 20.0, 40.0, 20.0);

    ShapeTableAddShape(count++, type, LOOKAT_FRONT, 20.0, 60.0, 20.0);

}

 

void PreRenderEffect()

{

 

}

 

void PostRenderEffect()

{

 

}

 

void MatrixSizeChanged()

{

    InitEffect();

}

 

MADRIX Version: 5.1b | Script Version: 3.10
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next