Package org.robovm.apple.scenekit
Class SCNLookAtConstraint
- 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.SCNLookAtConstraint
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,SCNAnimatable
,org.robovm.objc.ObjCProtocol
public class SCNLookAtConstraint extends SCNConstraint
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNLookAtConstraint.SCNLookAtConstraintPtr
-
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 SCNLookAtConstraint()
protected
SCNLookAtConstraint(NSObject.Handle h, long handle)
protected
SCNLookAtConstraint(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SCNLookAtConstraint
create(SCNNode target)
SCNVector3
getLocalFront()
SCNNode
getTarget()
SCNVector3
getTargetOffset()
SCNVector3
getWorldUp()
boolean
isGimbalLockEnabled()
void
setGimbalLockEnabled(boolean v)
void
setLocalFront(SCNVector3 v)
void
setTarget(SCNNode v)
void
setTargetOffset(SCNVector3 v)
void
setWorldUp(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
-
SCNLookAtConstraint
public SCNLookAtConstraint()
-
SCNLookAtConstraint
protected SCNLookAtConstraint(NSObject.Handle h, long handle)
-
SCNLookAtConstraint
protected SCNLookAtConstraint(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getTarget
public SCNNode getTarget()
-
setTarget
public void setTarget(SCNNode v)
-
getTargetOffset
public SCNVector3 getTargetOffset()
- Since:
- Available in iOS 11.0 and later.
-
setTargetOffset
public void setTargetOffset(SCNVector3 v)
- Since:
- Available in iOS 11.0 and later.
-
getLocalFront
public SCNVector3 getLocalFront()
- Since:
- Available in iOS 11.0 and later.
-
setLocalFront
public void setLocalFront(SCNVector3 v)
- Since:
- Available in iOS 11.0 and later.
-
getWorldUp
public SCNVector3 getWorldUp()
- Since:
- Available in iOS 11.0 and later.
-
setWorldUp
public void setWorldUp(SCNVector3 v)
- Since:
- Available in iOS 11.0 and later.
-
isGimbalLockEnabled
public boolean isGimbalLockEnabled()
-
setGimbalLockEnabled
public void setGimbalLockEnabled(boolean v)
-
create
public static SCNLookAtConstraint create(SCNNode target)
-
-