Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


It is possible to Display any UIElement as a dynamic texture on objects.

To do so you have to create a new material and setup the DiffuseTexture Diffuse texture with the Name name of the UIElement and assign this material to your object.

As DiffuseTexture The Diffuse texture name simply use uses the name of the element plus the .ui extension. You also have to change the TexType to "Auto 2D-Map".

E.g. to Display the USMPlayer (defined in Libs/UI/UIElements/USMPlayer.xml) use USMPlayer.ui.

You can also specify an InstanceID by using UIElementName@InstanceID.ui (e.g. USMPlayer@1.ui).

Image RemovedImage Added

Now you can use e.g. , for example, a proximity trigger to start the video playback on this object.

Image RemovedImage Added

If you enter the trigger, the Video video is displayed on the Objectobject.

Image RemovedImage Added

Interaction on Dynamic Textures

Since the assigned UIElement can be used in any UIAction, you can setup the interactive Flash like any other UIElement.

CryPAD Example

First setup the material:

Image RemovedImage Added

Create a simple UIAction flowgraph:

Image RemovedImage Added

By pressing the TAB -Key key, all inputs are locked, and input events are sent to the UIElement.