@MarshalsPointer public static long toNative(SCNSceneAttribute o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); }
@MarshalsPointer public static long toNative(SCNLightingModel o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); }
@MarshalsPointer public static long toNative(List<SCNLightingModel> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (SCNLightingModel o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); }
@MarshalsPointer public static long toNative(List<SCNMatrix4> l, long flags) { if (l == null) { return 0L; } NSMutableArray<NSValue> array = new NSMutableArray<>(); for (SCNMatrix4 i : l) { array.add(NSValue.valueOf(i)); } return NSObject.Marshaler.toNative(array, flags); }