Class SCNIKConstraint

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, SCNAnimatable, ObjCProtocol

public class SCNIKConstraint
extends SCNConstraint
  • Constructor Details

    • 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 Details

    • getChainRootNode

      public SCNNode getChainRootNode()
    • getTargetPosition

      public SCNVector3 getTargetPosition()
    • setTargetPosition

      public void setTargetPosition​(SCNVector3 v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • 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)