- java.lang.Object
- java.lang.Record
- com.anylogic.engine.omniverse_connector.UsdContext.UsdItem
- Record Components:
objectName- OM element name for bound elementinnerUsdPath- USD prim path inside scene for exising prim (absolute "/World/path/prim" or relative "/path/prim")modelUsdPath- USD scene path for new prim ("omniverse://localhost/path/file.usd")parent- parent AOC name for OM elementfieldName- generated field name for OM elementpackageName- element model java package nameautogenerated- true if element is Object3D bound to autogenerated scene, else false
- Enclosing class:
- UsdContext
@AnyLogicInternalAPI public static record UsdContext.UsdItem(String objectName, String innerUsdPath, String modelUsdPath, String parent, String fieldName, String packageName, boolean autogenerated) extends Record
Binding for OM element to USD prim
| Constructor | Description |
|---|---|
UsdItem |
Creates an instance of a
UsdItem record class. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean | autogenerated() |
Returns the value of the
autogenerated record component. |
final boolean | equals |
Indicates whether some other object is "equal to" this one.
|
String | fieldName() |
Returns the value of the
fieldName record component. |
String | getFullPath() | |
final int | hashCode() |
Returns a hash code value for this object.
|
String | innerUsdPath() |
Returns the value of the
innerUsdPath record component. |
String | modelUsdPath() |
Returns the value of the
modelUsdPath record component. |
String | objectName() |
Returns the value of the
objectName record component. |
String | packageName() |
Returns the value of the
packageName record component. |
String | parent() |
Returns the value of the
parent record component. |
final String | toString() |
Returns a string representation of this record class.
|
public UsdItem(String objectName, String innerUsdPath, String modelUsdPath, String parent, String fieldName, String packageName, boolean autogenerated)
Creates an instance of a
UsdItem record class.- Parameters:
objectName- the value for theobjectNamerecord componentinnerUsdPath- the value for theinnerUsdPathrecord componentmodelUsdPath- the value for themodelUsdPathrecord componentparent- the value for theparentrecord componentfieldName- the value for thefieldNamerecord componentpackageName- the value for thepackageNamerecord componentautogenerated- the value for theautogeneratedrecord component
public String getFullPath()
public final String toString()
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
public final int hashCode()
Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
public final boolean equals(Object o)
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with
Objects::equals(Object,Object); primitive components are compared with '=='.public String objectName()
Returns the value of the
objectName record component.- Returns:
- the value of the
objectNamerecord component
public String innerUsdPath()
Returns the value of the
innerUsdPath record component.- Returns:
- the value of the
innerUsdPathrecord component
public String modelUsdPath()
Returns the value of the
modelUsdPath record component.- Returns:
- the value of the
modelUsdPathrecord component
public String parent()
Returns the value of the
parent record component.- Returns:
- the value of the
parentrecord component
public String fieldName()
Returns the value of the
fieldName record component.- Returns:
- the value of the
fieldNamerecord component
public String packageName()
Returns the value of the
packageName record component.- Returns:
- the value of the
packageNamerecord component
public boolean autogenerated()
Returns the value of the
autogenerated record component.- Returns:
- the value of the
autogeneratedrecord component