com.jme3.bullet.collision
クラス PhysicsSweepTestResult

java.lang.Object
  上位を拡張 com.jme3.bullet.collision.PhysicsSweepTestResult

public class PhysicsSweepTestResult
extends java.lang.Object

Contains the results of a PhysicsSpace rayTest


コンストラクタの概要
PhysicsSweepTestResult()
           
PhysicsSweepTestResult(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float hitFraction, boolean normalInWorldSpace)
           
 
メソッドの概要
 void fill(PhysicsCollisionObject collisionObject, Vector3f hitNormalLocal, float hitFraction, boolean normalInWorldSpace)
           
 PhysicsCollisionObject getCollisionObject()
           
 float getHitFraction()
           
 Vector3f getHitNormalLocal()
           
 boolean isNormalInWorldSpace()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PhysicsSweepTestResult

public PhysicsSweepTestResult()

PhysicsSweepTestResult

public PhysicsSweepTestResult(PhysicsCollisionObject collisionObject,
                              Vector3f hitNormalLocal,
                              float hitFraction,
                              boolean normalInWorldSpace)
メソッドの詳細

getCollisionObject

public PhysicsCollisionObject getCollisionObject()
戻り値:
the collisionObject

getHitNormalLocal

public Vector3f getHitNormalLocal()
戻り値:
the hitNormalLocal

getHitFraction

public float getHitFraction()
戻り値:
the hitFraction

isNormalInWorldSpace

public boolean isNormalInWorldSpace()
戻り値:
the normalInWorldSpace

fill

public void fill(PhysicsCollisionObject collisionObject,
                 Vector3f hitNormalLocal,
                 float hitFraction,
                 boolean normalInWorldSpace)