Rebuild the appearance of the virtual control with the array of visual layers you provide.
- Control Name : Name of virtual input
- Layers : Array of visual layer
Do not call this every frame!
Return a copy of visual layer from virtual input.
- Control Name : Name of virtual Input
- Layer Name : Name of visual layer
Rebuild the visual layer of virtual input. Does nothing if the layer name specified in the layer structure does not exist in the virtual input.
- Control Name : Name of Virtual Input
- Layer : Visual layer structure. Be sure to use a valid layer name.
Add new visual layer in virtual input.
- Control Name : Name of virtual input
- (Optional) Layer Name : Name of visual layer
- Layer : Visual layer structure
Return Layer Name used to identify visual layer. If the Layer Name parameter has been omitted, Touch Interface Designer generate a unique name for you.
Insert new visual layer in virtual input.
- Control Name : Name of virtual input
- (Optional) Layer Name : Name of visual layer
- Layer : Visual layer structure
- Index : Indicate the position of visual layer in array (Render priority). Works like a classic ZOrder
Return Layer Name used to identify visual layer. If the Layer Name parameter has been omitted, Touch Interface Designer generate a unique name for you.
Remove visual layer from virtual input.
- Control Name : Name of virtual input
- Layer Name : Name of visual layer
Same as above but with index.
Create and/or Get dynamic material instance associated with layer
Do not call this every frame!
- Control Name : Name of virtual control
- Layer Name : Name of visual layer
Return DMI Dynamic Material instance that is created or recovered
Return true if material can be recovered