Class LullModel
- java.lang.Object
-
- com.google.ar.sceneform.rendering.LullModel
-
public class LullModel extends java.lang.Object
Helper functions for loading and processing lull models.
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.android.filament.TextureSampler.WrapMode[]
fromLullWrapMode
-
Constructor Summary
Constructors Constructor Description LullModel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.android.filament.TextureSampler.MagFilter
fromLullToMagFilter(com.google.ar.schemas.lull.TextureDef textureDef)
static com.google.android.filament.TextureSampler.MinFilter
fromLullToMinFilter(com.google.ar.schemas.lull.TextureDef textureDef)
static int
getByteCountPerVertex(com.google.ar.schemas.lull.ModelInstanceDef modelInstanceDef)
static boolean
isLullModel(java.nio.ByteBuffer buffer)
-
-
-
Method Detail
-
isLullModel
public static boolean isLullModel(java.nio.ByteBuffer buffer)
-
getByteCountPerVertex
public static int getByteCountPerVertex(com.google.ar.schemas.lull.ModelInstanceDef modelInstanceDef)
-
fromLullToMinFilter
public static com.google.android.filament.TextureSampler.MinFilter fromLullToMinFilter(com.google.ar.schemas.lull.TextureDef textureDef)
-
fromLullToMagFilter
public static com.google.android.filament.TextureSampler.MagFilter fromLullToMagFilter(com.google.ar.schemas.lull.TextureDef textureDef)
-
-