UI components
Last updated
Last updated
UI components is still part of our release but you should consider using the new HMI components (only available in Professional)
UI Components can be used to display PLC Signals on the screen or to control PLC Signals during simulation. Currently the UI Components contain these components:
Component | Description |
---|---|
The components can be arranged in a Panel (or multiple Panels) that can slide over the main view:
All UI Components should be arranged under the UI Gameobject in the Hierarchy:
The UIPanel is an element used as a container for Buttons and Lamps. It is opened when it is selected in the bottom of the screen with a sliding animation. It can be closed by selecting the panel name or closing icon. You can place multiple panes on the screen but the naming of the second panel and the position of the animations must be changed manually.
The Button can be placed in a UI Panel. The Button can act as a switch (changes between on and off everytime you press it) or can act as a pushbutton (only stays at on if you press it). You can select the color and the text which is displayed under the button. The connection to PLC Inputs is made by dragging the PLC Input onto the Field Button On or by selecting under Button On the desired input.
The lamp is used for displaying values. It can be connected to a PLC Output.
The UIMessageBox is a modal message box that is opening as an overlay over all windows in the scene. It can be turned on by a PLC Output signal.
The message box can be closed automatically after a defined time in seconds if Auto Close After Seconds is a value greater zero. The message box can be connected to a Cinemachine Virtual Camera for automatically zooming to the position of the message. Also some objects in the scene, that are highlighted during the message, can be selected.
Please check the Realvirtual.io Class Reference for more information about the properties and methods of this component. © 2022 in2Sight GmbH https://realvirtual.io - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.
UIPanel
Empty sliding panel as a container for the UI components
UIButton
A push or toggle button
UILamp
Lamp with different colors
UIMessageBox
Model window for displaying messages.