Package apple.modelio
Class MDLObject
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.modelio.MDLObject
-
- Direct Known Subclasses:
MDLCamera,MDLLight,MDLMesh,MDLPackedJointAnimation,MDLSkeleton,MDLVoxelArray
public class MDLObject extends NSObject implements MDLNamed
MDLObject Base class for object in a ModelIO asset hierarchy Includes transformation and bounds info, links to parent and children in the hierachy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMDLObject(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()voidaddChild(MDLObject child)addChild: Short hand for adding a child to the current container component and setting the parent to this object.static MDLObjectalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)MDLObjectContainerComponentchildren()[@property] children Short hand property for the MDLObjectContainerComponent.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()NSArray<?>components()[@property] components Allows applications to introspect the components on the objects.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidenumerateChildObjectsOfClassRootUsingBlockStopPointer(org.moe.natj.objc.Class objectClass, MDLObject root, MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer block, org.moe.natj.general.ptr.BoolPtr stopPointer)static longhash_static()booleanhidden()[@property] hidden Visibility of the node default is NOMDLObjectinit()MDLObjectinstance()[@property] instance Instance object nil, unless this object refers to master data to be instanced.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.Stringname()static java.lang.Objectnew_objc()MDLObjectobjectAtPath(java.lang.String path)Return the object at the specified path, or nil if none exists therestatic MDLObjectobjectWithSCNNode(SCNNode scnNode)static MDLObjectobjectWithSCNNodeBufferAllocator(SCNNode scnNode, MDLMeshBufferAllocator bufferAllocator)MDLObjectparent()[@property] parent Parent object.java.lang.Stringpath()[@property] path a string representing a path to the object a path is of the form /path/to/object where the path is formed by concatenating the names of the objects up the parent chain.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetChildren(MDLObjectContainerComponent value)[@property] children Short hand property for the MDLObjectContainerComponent.voidsetHidden(boolean value)[@property] hidden Visibility of the node default is NOvoidsetInstance(MDLObject value)[@property] instance Instance object nil, unless this object refers to master data to be instanced.voidsetName(java.lang.String value)voidsetParent(MDLObject value)[@property] parent Parent object.voidsetParent_unsafe(MDLObject value)[@property] parent Parent object.voidsetTransform(MDLTransformComponent value)[@property] transform Short hand property for the MDLTransformComponent.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()MDLTransformComponenttransform()[@property] transform Short hand property for the MDLTransformComponent.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MDLObject alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
objectWithSCNNodeBufferAllocator
public static MDLObject objectWithSCNNodeBufferAllocator(SCNNode scnNode, MDLMeshBufferAllocator bufferAllocator)
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
addChild
public void addChild(MDLObject child)
addChild: Short hand for adding a child to the current container component and setting the parent to this object. It will create a default container if none exists. If children are explicitly disallowed for an object, then add a container component that throws on addition.- See Also:
MDLObjectContainer
-
children
public MDLObjectContainerComponent children()
[@property] children Short hand property for the MDLObjectContainerComponent. The default value is nil- See Also:
MDLObjectContainerComponent
-
enumerateChildObjectsOfClassRootUsingBlockStopPointer
public void enumerateChildObjectsOfClassRootUsingBlockStopPointer(org.moe.natj.objc.Class objectClass, MDLObject root, MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer block, org.moe.natj.general.ptr.BoolPtr stopPointer)
-
hidden
public boolean hidden()
[@property] hidden Visibility of the node default is NO
-
instance
public MDLObject instance()
[@property] instance Instance object nil, unless this object refers to master data to be instanced. The master data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any master objects parsed from that file will be found in the masters property. A typical use of a master and instance might be to have one master chair MDLObject, and instance six chairs around a table. The transform of each chair would be found on the parent MDLObject, but the various items making up the chair would be found in the master object.
-
objectAtPath
public MDLObject objectAtPath(java.lang.String path)
Return the object at the specified path, or nil if none exists there
-
parent
public MDLObject parent()
[@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
-
path
public java.lang.String path()
[@property] path a string representing a path to the object a path is of the form /path/to/object where the path is formed by concatenating the names of the objects up the parent chain. Requesting a path will force any unnamed objects to became uniquely named. Any characters outside of [A-Z][a-z][0-9][:-_.] will be forced to underscore.
-
setChildren
public void setChildren(MDLObjectContainerComponent value)
[@property] children Short hand property for the MDLObjectContainerComponent. The default value is nil- See Also:
MDLObjectContainerComponent
-
setHidden
public void setHidden(boolean value)
[@property] hidden Visibility of the node default is NO
-
setInstance
public void setInstance(MDLObject value)
[@property] instance Instance object nil, unless this object refers to master data to be instanced. The master data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any master objects parsed from that file will be found in the masters property. A typical use of a master and instance might be to have one master chair MDLObject, and instance six chairs around a table. The transform of each chair would be found on the parent MDLObject, but the various items making up the chair would be found in the master object.
-
setParent_unsafe
public void setParent_unsafe(MDLObject value)
[@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
-
setParent
public void setParent(MDLObject value)
[@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
-
setTransform
public void setTransform(MDLTransformComponent value)
[@property] transform Short hand property for the MDLTransformComponent. The default value is nil- See Also:
MDLTransformComponent
-
transform
public MDLTransformComponent transform()
[@property] transform Short hand property for the MDLTransformComponent. The default value is nil- See Also:
MDLTransformComponent
-
components
public NSArray<?> components()
[@property] components Allows applications to introspect the components on the objects.
-
-