Package org.robovm.apple.spritekit
Class SKPhysicsJointPin
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.spritekit.SKPhysicsJoint
-
- org.robovm.apple.spritekit.SKPhysicsJointPin
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class SKPhysicsJointPin extends SKPhysicsJoint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SKPhysicsJointPin.SKPhysicsJointPinPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.spritekit.SKPhysicsJoint
SKPhysicsJoint.SKPhysicsJointPtr
-
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 SKPhysicsJointPin()
protected
SKPhysicsJointPin(NSObject.Handle h, long handle)
protected
SKPhysicsJointPin(NSObject.SkipInit skipInit)
SKPhysicsJointPin(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchor)
double
getFrictionTorque()
double
getLowerAngleLimit()
double
getRotationSpeed()
double
getUpperAngleLimit()
void
setFrictionTorque(double v)
void
setLowerAngleLimit(double v)
void
setRotationSpeed(double v)
void
setShouldEnableLimits(boolean v)
void
setUpperAngleLimit(double v)
boolean
shouldEnableLimits()
-
Methods inherited from class org.robovm.apple.spritekit.SKPhysicsJoint
encode, getBodyA, getBodyB, getReactionForce, getReactionTorque, init, setBodyA, setBodyB, supportsSecureCoding
-
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
-
SKPhysicsJointPin
public SKPhysicsJointPin()
-
SKPhysicsJointPin
protected SKPhysicsJointPin(NSObject.Handle h, long handle)
-
SKPhysicsJointPin
protected SKPhysicsJointPin(NSObject.SkipInit skipInit)
-
SKPhysicsJointPin
public SKPhysicsJointPin(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchor)
-
-
Method Detail
-
shouldEnableLimits
public boolean shouldEnableLimits()
-
setShouldEnableLimits
public void setShouldEnableLimits(boolean v)
-
getLowerAngleLimit
public double getLowerAngleLimit()
-
setLowerAngleLimit
public void setLowerAngleLimit(double v)
-
getUpperAngleLimit
public double getUpperAngleLimit()
-
setUpperAngleLimit
public void setUpperAngleLimit(double v)
-
getFrictionTorque
public double getFrictionTorque()
-
setFrictionTorque
public void setFrictionTorque(double v)
-
getRotationSpeed
public double getRotationSpeed()
-
setRotationSpeed
public void setRotationSpeed(double v)
-
create
protected static long create(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchor)
-
-