AVOLITES TITAN API

SetShapePhase

Sets the phase of a shape.

Namespace: Editor.Shapes

Syntax

MACRO

Void Editor.Shapes.SetShapePhase(Int32 shapeId, Double phaseToSet, IEnumerable<Int32> fixtureIds)

HTTP

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

Parameters

shapeId ( Int32 ) : The shape identifier.

phaseToSet ( Double ) : The phase to set.

fixtureIds ( IEnumerable<Int32> ) : The fixture ids to set the phase on.