AVOLITES TITAN API

SetShapeCycles

Sets a shape's cycles.

Namespace: Editor.Shapes

Syntax

MACRO

Void Editor.Shapes.SetShapeCycles(Int32 shapeId, Double cycles, IEnumerable<Int32> fixtureIds)

HTTP

http://[ip]:4430/titan/script/2/Editor/Shapes/SetShapeCycles?shapeId={titanId}&cycles={double}&fixtureIds={}

Parameters

shapeId ( Int32 ) : The shape identifier.

cycles ( Double ) : The number of cycles to complete before the shape stops, when 0 the shape runs indefinately.

fixtureIds ( IEnumerable<Int32> ) : The fixture ids.