Package org.robovm.apple.scenekit
Class SCNIKConstraint
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.scenekit.SCNConstraint
-
- org.robovm.apple.scenekit.SCNIKConstraint
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,SCNAnimatable
,org.robovm.objc.ObjCProtocol
public class SCNIKConstraint extends SCNConstraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNIKConstraint.SCNIKConstraintPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.scenekit.SCNConstraint
SCNConstraint.SCNConstraintPtr
-
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 SCNIKConstraint()
protected
SCNIKConstraint(NSObject.Handle h, long handle)
protected
SCNIKConstraint(NSObject.SkipInit skipInit)
SCNIKConstraint(SCNNode chainRootNode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SCNIKConstraint
create(SCNNode chainRootNode)
SCNNode
getChainRootNode()
double
getMaxAllowedRotationAngleForJoint(SCNNode node)
SCNVector3
getTargetPosition()
protected long
init(SCNNode chainRootNode)
void
setMaxAllowedRotationAngleForJoint(double angle, SCNNode node)
void
setTargetPosition(SCNVector3 v)
-
Methods inherited from class org.robovm.apple.scenekit.SCNConstraint
addAnimation, addAnimationPlayer, animationPlayerForKey, encode, getAnimation, getAnimationKeys, getInfluenceFactor, init, isAnimationPaused, isEnabled, isIncremental, pauseAnimation, removeAllAnimations, removeAnimation, removeAnimation, removeAnimationForKey, resumeAnimation, setEnabled, setIncremental, setInfluenceFactor, setSpeed, 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
-
SCNIKConstraint
public SCNIKConstraint()
-
SCNIKConstraint
protected SCNIKConstraint(NSObject.Handle h, long handle)
-
SCNIKConstraint
protected SCNIKConstraint(NSObject.SkipInit skipInit)
-
SCNIKConstraint
public SCNIKConstraint(SCNNode chainRootNode)
- Since:
- Available in iOS 9.0 and later.
-
-
Method Detail
-
getChainRootNode
public SCNNode getChainRootNode()
-
getTargetPosition
public SCNVector3 getTargetPosition()
-
setTargetPosition
public void setTargetPosition(SCNVector3 v)
-
init
protected long init(SCNNode chainRootNode)
- Since:
- Available in iOS 9.0 and later.
-
setMaxAllowedRotationAngleForJoint
public void setMaxAllowedRotationAngleForJoint(double angle, SCNNode node)
-
getMaxAllowedRotationAngleForJoint
public double getMaxAllowedRotationAngleForJoint(SCNNode node)
-
create
public static SCNIKConstraint create(SCNNode chainRootNode)
-
-