Class EngineInstance
- java.lang.Object
-
- com.google.ar.sceneform.rendering.EngineInstance
-
public class EngineInstance extends java.lang.Object
Store a single Filament Engine instance.
-
-
Constructor Summary
Constructors Constructor Description EngineInstance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
destroyEngine()
static void
disableHeadlessEngine()
static void
enableHeadlessEngine()
static IEngine
getEngine()
Get the Filament Engine instance, creating it if necessary.static boolean
isEngineDestroyed()
static boolean
isHeadlessMode()
-
-
-
Method Detail
-
enableHeadlessEngine
public static void enableHeadlessEngine()
-
disableHeadlessEngine
public static void disableHeadlessEngine()
-
isHeadlessMode
public static boolean isHeadlessMode()
-
getEngine
public static IEngine getEngine()
Get the Filament Engine instance, creating it if necessary.- Throws:
java.lang.IllegalStateException
-
destroyEngine
public static void destroyEngine()
-
isEngineDestroyed
public static boolean isEngineDestroyed()
-
-