public boolean keepsAsCompound() { if (has(Keys.KeepAsCompound())) { NSNumber val = (NSNumber) get(Keys.KeepAsCompound()); return val.booleanValue(); } return false; } public SCNPhysicsShapeOptions setKeepsAsCompound(boolean keepsAsCompound) {
/** * @since Available in iOS 10.0 and later. */ public SCNPhysicsShapeOptions setCollisionMargin(NSNumber collisionMargin) { set(Keys.CollisionMargin(), collisionMargin); return this; } /*</methods>*/
public SCNPhysicsShapeOptions setScale(SCNVector3 scale) { set(Keys.Scale(), new NSData(scale)); return this; } /**
/** * @since Available in iOS 10.0 and later. */ public SCNPhysicsShapeOptions setCollisionMargin(NSNumber collisionMargin) { set(Keys.CollisionMargin(), collisionMargin); return this; } /*</methods>*/
/** * @since Available in iOS 10.0 and later. */ public NSNumber getCollisionMargin() { if (has(Keys.CollisionMargin())) { NSNumber val = (NSNumber) get(Keys.CollisionMargin()); return val; } return null; } /**
public SCNPhysicsShapeOptions setKeepsAsCompound(boolean keepsAsCompound) { set(Keys.KeepAsCompound(), NSNumber.valueOf(keepsAsCompound)); return this; } public SCNVector3 getScale() {
public SCNPhysicsShapeOptions setType(SCNPhysicsShapeType type) { set(Keys.Type(), type.value()); return this; } public boolean keepsAsCompound() {
/** * @since Available in iOS 10.0 and later. */ public NSNumber getCollisionMargin() { if (has(Keys.CollisionMargin())) { NSNumber val = (NSNumber) get(Keys.CollisionMargin()); return val; } return null; } /**
public SCNPhysicsShapeOptions setType(SCNPhysicsShapeType type) { set(Keys.Type(), type.value()); return this; } public boolean keepsAsCompound() {
public SCNPhysicsShapeOptions setScale(SCNVector3 scale) { set(Keys.Scale(), new NSData(scale)); return this; } /**
public SCNPhysicsShapeOptions setKeepsAsCompound(boolean keepsAsCompound) { set(Keys.KeepAsCompound(), NSNumber.valueOf(keepsAsCompound)); return this; } public SCNVector3 getScale() {
public boolean keepsAsCompound() { if (has(Keys.KeepAsCompound())) { NSNumber val = (NSNumber) get(Keys.KeepAsCompound()); return val.booleanValue(); } return false; } public SCNPhysicsShapeOptions setKeepsAsCompound(boolean keepsAsCompound) {
public boolean keepsAsCompound() { if (has(Keys.KeepAsCompound())) { NSNumber val = (NSNumber) get(Keys.KeepAsCompound()); return val.booleanValue(); } return false; } public SCNPhysicsShapeOptions setKeepsAsCompound(boolean keepsAsCompound) {
public SCNPhysicsShapeOptions setType(SCNPhysicsShapeType type) { set(Keys.Type(), type.value()); return this; } public boolean keepsAsCompound() {
public SCNPhysicsShapeOptions setScale(SCNVector3 scale) { set(Keys.Scale(), new NSData(scale)); return this; } /*</methods>*/