Aller au contenu principal

SVGImage2D

This element is a basic road actor. The graphic origin of the SVGImage2D corresponds with the geometric center of the SVGImage2D. The particularity of SVGImage2D elements lies in element representation which is defined by user.

Is an equipment
Can have equipment

This element must be used with 2D scene context.

Icon

SVGImagePicto

2D Representation

SVGImage2D

3D Representation

No reprensation available on 3D.

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
X-axis position✔️✔️Position of the element on the X-axis of the scene in which it is located.meterDecimal number
Y-axis position✔️✔️Position of the element on the Y-axis of the scene in which it is located.meterDecimal number
Z-axis positionPosition of the element on the Z-axis of the scene in which it is located.meterDecimal number
X-axis angleAngle of the element on the X-axis of the scene in which it is located.degreeDecimal number
Y-axis angleAngle of the element on the Y-axis of the scene in which it is located.degreeDecimal number
Z-axis angle✔️✔️Angle of the element on the Z-axis of the scene in which it is located.degreeDecimal number
Speed✔️✔️Speed on the X-axis of the element. This parameter can be profile.kilometers per hourDecimal number
Accel. coeff.✔️✔️Acceration on the X-axis of the element.kilometers per hour squaredDecimal number
SVG Def✔️✔️Svg representation on the scene. Make sure your SVG is valid before entering a value in field. Choose a preset definition.-Text
Trajectory✔️✔️Trajectory of the scene that the element will follow.-Enumeration
Direction✔️✔️Gear mode of the SVG-Enumeration (forward, reverse)
Curvilinear position✔️✔️Position on the trajectory.meterDecimal number
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
Threshold zoom out✔️Zoom level from which its representation on the scene is no longer modified.%Decimal number
LengthLength of the element.meterDecimal number
WidthWidth of the element.meterDecimal number
HeightHeight of the element.meterDecimal number
longitude coordinateAutomatically calculated longitude value, based on the origin defined for the context and the position of the element.degreeDecimal number
latitude coordinateAutomatically calculated latitude value, based on the origin defined for the context and the position of the element.degreeDecimal number
3D URL✔️✔️This paramater allow the user to import its own 3D Model in 3DExtension. The url can point to a local asset or an online asset-Text

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Update Trajectory

parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
Reset Curvilinear Position✔️Update position on the trajectory.meterDecimal number
Trajectory Name✔️Name of the trajectory that the car will follow.

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
At initializationThe SVG image 2D can send information to the model once at initialization
ContinuallyThe SVG image 2D can send information to the model continuously

Tips

To easily edit SVG dimension, right-click on the element and select Change SVG Dimension. You can now move, rotate and resize your SVG in the same way of editing software.

Change SVG Image 2D Dimension

To keep dimension proportion during resize process, press shift key.

To save the new element dimension, double-click on the element.

You can also edit SVG dimension of several elements by previously selecting its (press Ctrl key).