- java.lang.Object
- com.anylogic.engine.omniverse_connector.UsdObjectCache
public class UsdObjectCache extends Object
Constructor | Description |
---|---|
UsdObjectCache() |
Modifier and Type | Method | Description |
---|---|---|
void | clearLocationCache() | |
org.joml.Matrix4d | getAgentLocationFromCache |
Returns cached coordinates for the specified agent, or null if there are no cached coordinates for the agent.
|
org.joml.Matrix4d | getShapeLocationFromCache |
Returns cached coordinates for the specified shape, or null if there are no cached coordinates for the shape.
|
org.joml.Matrix4d | putAgentToLocationCache | |
void | putShapeLocationToCache |
public UsdObjectCache()
public void clearLocationCache()
public void putShapeLocationToCache(Shape shape, org.joml.Matrix4d matrix)
public org.joml.Matrix4d putAgentToLocationCache(Agent agent, org.joml.Matrix4d matrix)
public org.joml.Matrix4d getAgentLocationFromCache(Agent agent)
Returns cached coordinates for the specified agent, or null if there are no cached coordinates for the agent.
Always creates new matrix for cached value (if it is not null) for modification safety
public org.joml.Matrix4d getShapeLocationFromCache(Shape shape)
Returns cached coordinates for the specified shape, or null if there are no cached coordinates for the shape.
Always creates new matrix for cached value (if it is not null) for modification safety