Package org.robovm.apple.gameplaykit
Class GKAgent3D
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKComponent
-
- org.robovm.apple.gameplaykit.GKAgent
-
- org.robovm.apple.gameplaykit.GKAgent3D
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class GKAgent3D extends GKAgent
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKAgent3D.GKAgent3DPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKAgent
GKAgent.GKAgentPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKComponent
GKComponent.GKComponentPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKAgent3D()
protected
GKAgent3D(NSObject.Handle h, long handle)
protected
GKAgent3D(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorFloat3
getPosition()
MatrixFloat3x4
getRotation()
VectorFloat3
getVelocity()
boolean
isRightHanded()
void
setPosition(VectorFloat3 v)
void
setRightHanded(boolean v)
void
setRotation(MatrixFloat3x4 v)
void
update(double seconds)
-
Methods inherited from class org.robovm.apple.gameplaykit.GKAgent
getBehavior, getDelegate, getMass, getMaxAcceleration, getMaxSpeed, getRadius, getSpeed, setBehavior, setDelegate, setMass, setMaxAcceleration, setMaxSpeed, setRadius, setSpeed
-
Methods inherited from class org.robovm.apple.gameplaykit.GKComponent
didAddToEntity, encode, getEntity, init, supportsSecureCoding, willRemoveFromEntity
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKAgent3D
public GKAgent3D()
-
GKAgent3D
protected GKAgent3D(NSObject.Handle h, long handle)
-
GKAgent3D
protected GKAgent3D(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getPosition
public VectorFloat3 getPosition()
-
setPosition
public void setPosition(VectorFloat3 v)
-
getVelocity
public VectorFloat3 getVelocity()
-
isRightHanded
public boolean isRightHanded()
-
setRightHanded
public void setRightHanded(boolean v)
-
getRotation
public MatrixFloat3x4 getRotation()
-
setRotation
public void setRotation(MatrixFloat3x4 v)
-
update
public void update(double seconds)
- Overrides:
update
in classGKComponent
-
-