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

AVEVA™ XR Studio

ScriptClass

  • Last UpdatedMay 27, 2024
  • 2 minute read

A ScriptClass node is created whenever an XRS Class definition is parsed. It represents the public static methods and variables of that class. ScriptClass cannot be instantiated and cannot be destroyed.

Platform support

This element is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-P Hololens platforms.

XR-WIN

XR-P-WIN

XR-P-IOS

XR-P-AND

XR-P-WASM

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

Full support

ScriptClass fields

These are the fields for ScriptClass node. Only the node-specific fields are indicated, not fields obtained by inheritance.

Field inheritance: NodeBase > ScriptClass

Fields 

Type 

Use 

Default 

Description 

methodName 

SScriptMethod 

Optional 

 

Represents a static public class method defined in the XRS Script class definition. A new field is created for each static public method methodName. 

variableName 

SScriptVariable 

Optional 

 

Represents a static public class variable defined in a XRS Script class definition. A new field is created for each static public variable variableName.. 

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