# Lamp

{% hint style="danger" %}
This component is deprecated and will be updated soon.
{% endhint %}

Lamp is a prefab package for a lamp.

<div align="left"><figure><img src="/files/B6KtiMOy7bWPUEYRZDoK" alt=""><figcaption></figcaption></figure></div>

It includes a point light and a cylinder. An optional Halo can be turned on. You can select a material for the lamp and change the color of the lamp. Lamp\_Connection is the included Lamp behavior model and is an interface to any PLC inputs and outputs.

<div align="left"><figure><img src="/files/UHRHdWspJA6zzUL0rITY" alt=""><figcaption></figcaption></figure></div>

Please check the[ Realvirtual.io Class Reference](https://game4automation.com/documentation/current/apidoc/html/classgame4automation_1_1_lamp.html) for more information about the properties and methods of this component.\
\
\
\
\
© 2025 realvirtual GmbH [https://realvirtual.io](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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.realvirtual.io/components-and-scripts/scene-interaction/lamp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
