Class Collider
- java.lang.Object
-
- com.google.ar.sceneform.collision.Collider
-
public class Collider extends java.lang.Object
Represents the collision information associated with a transformation that can be attached to the collision system. Not publicly exposed.
-
-
Constructor Summary
Constructors Constructor Description Collider(TransformProvider transformProvider, CollisionShape localCollisionShape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollisionShape
getShape()
CollisionShape
getTransformedShape()
TransformProvider
getTransformProvider()
void
markWorldShapeDirty()
void
setAttachedCollisionSystem(CollisionSystem collisionSystem)
void
setShape(CollisionShape localCollisionShape)
-
-
-
Constructor Detail
-
Collider
public Collider(TransformProvider transformProvider, CollisionShape localCollisionShape)
-
-
Method Detail
-
setShape
public void setShape(CollisionShape localCollisionShape)
-
getShape
public CollisionShape getShape()
-
getTransformProvider
public TransformProvider getTransformProvider()
-
getTransformedShape
@Nullable public CollisionShape getTransformedShape()
-
setAttachedCollisionSystem
public void setAttachedCollisionSystem(@Nullable CollisionSystem collisionSystem)
-
markWorldShapeDirty
public void markWorldShapeDirty()
-
-