Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

meshchangetexture

  • Last UpdatedMay 02, 2023
  • 2 minute read

The meshchangetexture statement causes a mesh to replace one of its textures.

Platform support

This element is supported on XR-Windows platform only.

XR-WIN

XR-P-WIN

XR-P-IOS

XR-P-AND

XR-P-WASM

Full support

No support

No support

No support

No support

Full support

No support

No support

No support

No support

Code example

This is a code example for the meshchangetexture statement.

<command name="showmenu">

<meshchangetexture mesh="Liquid_Loop1|itemcolor_TEE011" oldtexture="itemcolor_TEE0011_texture.tga" newtexture="fx_itemcolor_TEE011"/>

<!-- ... -->

</command>

Fields

These are the fields for meshchangetexture statement.

Fields

Type

Use

Default value

Description

mesh

sstring

Mandatory

No default value

The name of the mesh.This command requires the name of the mesh in the MWX file and not the name of an associated mesh node.

newtexture

sstring

Mandatory

No default value

The name of the replacing texture.

oldtexture

sstring

Mandatory

No default value

The name of the texture to be replaced.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in