public class AutoTraceRayCompositeImpl extends AutoTraceRay
AutoTraceRay.AutoTraceRayUpdate| Modifier and Type | Field and Description |
|---|---|
protected AutoTraceRayLocalImpl |
partLocal |
protected AutoTraceRayStaticImpl |
partStatic |
PROTOTYPE, SimTime| Constructor and Description |
|---|
AutoTraceRayCompositeImpl()
Parameter-less contructor for the message.
|
AutoTraceRayCompositeImpl(AutoTraceRayCompositeImpl original)
Cloning constructor.
|
AutoTraceRayCompositeImpl(AutoTraceRayLocalImpl partLocal,
AutoTraceRaySharedImpl partShared,
AutoTraceRayStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
getFrom()
Location from which the ray is emitted.
|
UnrealId |
getHitId()
Id of the actor we have hit.
|
Location |
getHitLocation()
Vector with location of the collision (not sent if FastTrace
is True).
|
javax.vecmath.Vector3d |
getHitNormal()
Vector with normal of the plane we have hit (not sent if
FastTrace is True).
|
UnrealId |
getId()
An Id for this ray (should be unique), assigned by the user
when adding ray.
|
AutoTraceRayLocal |
getLocal() |
AutoTraceRayShared |
getShared() |
AutoTraceRayStatic |
getStatic() |
Location |
getTo()
Location to which the ray is sent.
|
boolean |
isFastTrace()
True if it is a fast trace, false if not (fast trace is a
bit faster version of UT2004 ray trace - but provides us
with less information - just true/false if we hit something
on the way or not).
|
boolean |
isFloorCorrection()
If we should correct ray directions accoring floor normal.
|
boolean |
isResult()
True if it hit something, false if not.
|
boolean |
isTraceActors()
If we traced also actors with this ray (actors – moving
things in a game – bots, players, monsters, pickup …) (only
if NOT using FastTrace)
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getSimTime, toJsonLiteralprotected AutoTraceRayStaticImpl partStatic
protected AutoTraceRayLocalImpl partLocal
public AutoTraceRayCompositeImpl()
public AutoTraceRayCompositeImpl(AutoTraceRayLocalImpl partLocal, AutoTraceRaySharedImpl partShared, AutoTraceRayStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic AutoTraceRayCompositeImpl(AutoTraceRayCompositeImpl original)
original - public void setSimTime(long SimTime)
AutoTraceRaysetSimTime in class AutoTraceRaypublic AutoTraceRayStatic getStatic()
public AutoTraceRayLocal getLocal()
public AutoTraceRayShared getShared()
public UnrealId getId()
AutoTraceRaygetId in interface IWorldObjectgetId in class AutoTraceRaypublic Location getFrom()
AutoTraceRaygetFrom in class AutoTraceRaypublic Location getTo()
AutoTraceRaygetTo in class AutoTraceRaypublic boolean isFastTrace()
AutoTraceRayisFastTrace in class AutoTraceRaypublic boolean isFloorCorrection()
AutoTraceRayisFloorCorrection in class AutoTraceRaypublic boolean isResult()
AutoTraceRayisResult in class AutoTraceRaypublic javax.vecmath.Vector3d getHitNormal()
AutoTraceRaygetHitNormal in class AutoTraceRaypublic Location getHitLocation()
AutoTraceRaygetHitLocation in class AutoTraceRaypublic boolean isTraceActors()
AutoTraceRayisTraceActors in class AutoTraceRaypublic UnrealId getHitId()
AutoTraceRaygetHitId in class AutoTraceRaypublic String toString()
toString in class AutoTraceRaypublic String toHtmlString()
toHtmlString in class AutoTraceRayCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.