Class RenderableInternalFilamentAssetData
- java.lang.Object
-
- com.google.ar.sceneform.rendering.RenderableInternalFilamentAssetData
-
public class RenderableInternalFilamentAssetData extends java.lang.Object
Represents the data used by aRenderable
for rendering natively loaded glTF data.
-
-
Constructor Summary
Constructors Constructor Description RenderableInternalFilamentAssetData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildInstanceData(RenderableInstance instance, int renderedEntity)
void
dispose()
java.util.List<java.lang.String>
getAnimationNames()
Vector3
getCenterAabb()
Vector3
getExtentsAabb()
com.google.android.filament.IndexBuffer
getIndexBuffer()
java.util.ArrayList<java.lang.Integer>
getMaterialBindingIds()
java.util.ArrayList<com.google.ar.sceneform.rendering.RenderableInternalData.MeshData>
getMeshes()
java.nio.FloatBuffer
getRawColorBuffer()
java.nio.IntBuffer
getRawIndexBuffer()
java.nio.FloatBuffer
getRawPositionBuffer()
java.nio.FloatBuffer
getRawTangentsBuffer()
java.nio.FloatBuffer
getRawUvBuffer()
Vector3
getSizeAabb()
Vector3
getTransformOffset()
float
getTransformScale()
com.google.android.filament.VertexBuffer
getVertexBuffer()
void
setAnimationNames(java.util.List<java.lang.String> animationNames)
void
setCenterAabb(Vector3 center)
void
setExtentsAabb(Vector3 halfExtents)
void
setIndexBuffer(com.google.android.filament.IndexBuffer indexBuffer)
void
setRawColorBuffer(java.nio.FloatBuffer rawColorBuffer)
void
setRawIndexBuffer(java.nio.IntBuffer rawIndexBuffer)
void
setRawPositionBuffer(java.nio.FloatBuffer rawPositionBuffer)
void
setRawTangentsBuffer(java.nio.FloatBuffer rawTangentsBuffer)
void
setRawUvBuffer(java.nio.FloatBuffer rawUvBuffer)
void
setTransformOffset(Vector3 offset)
void
setTransformScale(float scale)
void
setVertexBuffer(com.google.android.filament.VertexBuffer vertexBuffer)
-
-
-
Method Detail
-
setCenterAabb
public void setCenterAabb(Vector3 center)
-
getCenterAabb
public Vector3 getCenterAabb()
-
setExtentsAabb
public void setExtentsAabb(Vector3 halfExtents)
-
getExtentsAabb
public Vector3 getExtentsAabb()
-
getSizeAabb
public Vector3 getSizeAabb()
-
setTransformScale
public void setTransformScale(float scale)
-
getTransformScale
public float getTransformScale()
-
setTransformOffset
public void setTransformOffset(Vector3 offset)
-
getTransformOffset
public Vector3 getTransformOffset()
-
getMeshes
public java.util.ArrayList<com.google.ar.sceneform.rendering.RenderableInternalData.MeshData> getMeshes()
-
getMaterialBindingIds
public java.util.ArrayList<java.lang.Integer> getMaterialBindingIds()
-
setIndexBuffer
public void setIndexBuffer(@Nullable com.google.android.filament.IndexBuffer indexBuffer)
-
getIndexBuffer
@Nullable public com.google.android.filament.IndexBuffer getIndexBuffer()
-
setVertexBuffer
public void setVertexBuffer(@Nullable com.google.android.filament.VertexBuffer vertexBuffer)
-
getVertexBuffer
@Nullable public com.google.android.filament.VertexBuffer getVertexBuffer()
-
setRawIndexBuffer
public void setRawIndexBuffer(@Nullable java.nio.IntBuffer rawIndexBuffer)
-
getRawIndexBuffer
@Nullable public java.nio.IntBuffer getRawIndexBuffer()
-
setRawPositionBuffer
public void setRawPositionBuffer(@Nullable java.nio.FloatBuffer rawPositionBuffer)
-
getRawPositionBuffer
@Nullable public java.nio.FloatBuffer getRawPositionBuffer()
-
setRawTangentsBuffer
public void setRawTangentsBuffer(@Nullable java.nio.FloatBuffer rawTangentsBuffer)
-
getRawTangentsBuffer
@Nullable public java.nio.FloatBuffer getRawTangentsBuffer()
-
setRawUvBuffer
public void setRawUvBuffer(@Nullable java.nio.FloatBuffer rawUvBuffer)
-
getRawUvBuffer
@Nullable public java.nio.FloatBuffer getRawUvBuffer()
-
setRawColorBuffer
public void setRawColorBuffer(@Nullable java.nio.FloatBuffer rawColorBuffer)
-
getRawColorBuffer
@Nullable public java.nio.FloatBuffer getRawColorBuffer()
-
setAnimationNames
public void setAnimationNames(@NonNull java.util.List<java.lang.String> animationNames)
-
getAnimationNames
@NonNull public java.util.List<java.lang.String> getAnimationNames()
-
buildInstanceData
public void buildInstanceData(RenderableInstance instance, int renderedEntity)
-
dispose
public void dispose()
-
-