Package org.robovm.apple.scenekit
Class SCNPhysicsBody
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.scenekit.SCNPhysicsBody
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class SCNPhysicsBody extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSCNPhysicsBody.SCNPhysicsBodyPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description SCNPhysicsBody()SCNPhysicsBody(NSCoder coder)protectedSCNPhysicsBody(NSObject.Handle h, long handle)protectedSCNPhysicsBody(NSObject.SkipInit skipInit) -
Method Summary
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
SCNPhysicsBody
public SCNPhysicsBody() -
SCNPhysicsBody
-
SCNPhysicsBody
-
SCNPhysicsBody
-
-
Method Details
-
getType
-
setType
-
getMass
public double getMass() -
setMass
public void setMass(double v) -
getMomentOfInertia
- Since:
- Available in iOS 9.0 and later.
-
setMomentOfInertia
- Since:
- Available in iOS 9.0 and later.
-
usesDefaultMomentOfInertia
public boolean usesDefaultMomentOfInertia()- Since:
- Available in iOS 9.0 and later.
-
setUsesDefaultMomentOfInertia
public void setUsesDefaultMomentOfInertia(boolean v)- Since:
- Available in iOS 9.0 and later.
-
getCharge
public double getCharge() -
setCharge
public void setCharge(double v) -
getFriction
public double getFriction() -
setFriction
public void setFriction(double v) -
getRestitution
public double getRestitution() -
setRestitution
public void setRestitution(double v) -
getRollingFriction
public double getRollingFriction() -
setRollingFriction
public void setRollingFriction(double v) -
getPhysicsShape
-
setPhysicsShape
-
isResting
public boolean isResting() -
allowsResting
public boolean allowsResting() -
setAllowsResting
public void setAllowsResting(boolean v) -
getVelocity
-
setVelocity
-
getAngularVelocity
-
setAngularVelocity
-
getDamping
public double getDamping() -
setDamping
public void setDamping(double v) -
getAngularDamping
public double getAngularDamping() -
setAngularDamping
public void setAngularDamping(double v) -
getVelocityFactor
-
setVelocityFactor
-
getAngularVelocityFactor
-
setAngularVelocityFactor
-
getCategoryBitMask
public long getCategoryBitMask() -
setCategoryBitMask
public void setCategoryBitMask(long v) -
getCollisionBitMask
-
setCollisionBitMask
-
getContactTestBitMask
public long getContactTestBitMask()- Since:
- Available in iOS 9.0 and later.
-
setContactTestBitMask
public void setContactTestBitMask(long v)- Since:
- Available in iOS 9.0 and later.
-
isAffectedByGravity
public boolean isAffectedByGravity()- Since:
- Available in iOS 9.0 and later.
-
setAffectedByGravity
public void setAffectedByGravity(boolean v)- Since:
- Available in iOS 9.0 and later.
-
getContinuousCollisionDetectionThreshold
public double getContinuousCollisionDetectionThreshold()- Since:
- Available in iOS 12.0 and later.
-
setContinuousCollisionDetectionThreshold
public void setContinuousCollisionDetectionThreshold(double v)- Since:
- Available in iOS 12.0 and later.
-
getCenterOfMassOffset
- Since:
- Available in iOS 12.0 and later.
-
setCenterOfMassOffset
- Since:
- Available in iOS 12.0 and later.
-
getLinearRestingThreshold
public double getLinearRestingThreshold()- Since:
- Available in iOS 12.0 and later.
-
setLinearRestingThreshold
public void setLinearRestingThreshold(double v)- Since:
- Available in iOS 12.0 and later.
-
getAngularRestingThreshold
public double getAngularRestingThreshold()- Since:
- Available in iOS 12.0 and later.
-
setAngularRestingThreshold
public void setAngularRestingThreshold(double v)- Since:
- Available in iOS 12.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
applyForce
-
applyForce
-
applyTorque
-
clearAllForces
public void clearAllForces() -
resetTransform
public void resetTransform() -
setResting
public void setResting(boolean resting)- Since:
- Available in iOS 12.0 and later.
-
createStaticBody
-
createDynamicBody
-
createKinematicBody
-
create
-
encode
-
init
-