public static SCNProgramSemantic valueOf(NSString value) { SCNProgramSemantic v = SCNGeometrySourceSemantic.valueOf(value); if (v == null) v = SCNRenderingTransform.valueOf(value); return v; } }
@MarshalsPointer public static SCNGeometrySourceSemantic toObject(Class<SCNGeometrySourceSemantic> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return SCNGeometrySourceSemantic.valueOf(o); } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<SCNGeometrySourceSemantic> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<SCNGeometrySourceSemantic> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(SCNGeometrySourceSemantic.valueOf(o.get(i))); } return list; } @MarshalsPointer
public static SCNProgramSemantic valueOf(NSString value) { SCNProgramSemantic v = SCNGeometrySourceSemantic.valueOf(value); if (v == null) v = SCNRenderingTransform.valueOf(value); return v; } }
public static SCNProgramSemantic valueOf(NSString value) { SCNProgramSemantic v = SCNGeometrySourceSemantic.valueOf(value); if (v == null) v = SCNRenderingTransform.valueOf(value); return v; } }
@MarshalsPointer public static SCNGeometrySourceSemantic toObject(Class<SCNGeometrySourceSemantic> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return SCNGeometrySourceSemantic.valueOf(o); } @MarshalsPointer
@MarshalsPointer public static SCNGeometrySourceSemantic toObject(Class<SCNGeometrySourceSemantic> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return SCNGeometrySourceSemantic.valueOf(o); } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<SCNGeometrySourceSemantic> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<SCNGeometrySourceSemantic> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(SCNGeometrySourceSemantic.valueOf(o.get(i))); } return list; } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<SCNGeometrySourceSemantic> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<SCNGeometrySourceSemantic> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(SCNGeometrySourceSemantic.valueOf(o.get(i))); } return list; } @MarshalsPointer