public class MDLObject extends NSObject implements MDLNamed
Base class for object in a ModelIO asset hierarchy
Includes transformation and bounds info, links to parent and children in the hierachy
| Modifier and Type | Class and Description |
|---|---|
static interface |
MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
MDLObject(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addChild(MDLObject child)
addChild:
|
static MDLObject |
alloc() |
static MDLObject |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
MDLObjectContainerComponent |
children()
[@property] children
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSArray<?> |
components()
[@property] components
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
enumerateChildObjectsOfClassRootUsingBlockStopPointer(org.moe.natj.objc.Class objectClass,
MDLObject root,
MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer block,
org.moe.natj.general.ptr.BoolPtr stopPointer) |
static long |
hash_static() |
boolean |
hidden()
[@property] hidden
|
MDLObject |
init() |
MDLObject |
instance()
[@property] instance
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
name() |
static MDLObject |
new_objc() |
MDLObject |
objectAtPath(java.lang.String path)
Return the object at the specified path, or nil if none exists there
|
static MDLObject |
objectWithSCNNode(SCNNode scnNode) |
static MDLObject |
objectWithSCNNodeBufferAllocator(SCNNode scnNode,
MDLMeshBufferAllocator bufferAllocator) |
MDLObject |
parent()
[@property] parent
|
java.lang.String |
path()
[@property] path
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setChildren(MDLObjectContainerComponent value)
[@property] children
|
void |
setHidden(boolean value)
[@property] hidden
|
void |
setInstance(MDLObject value)
[@property] instance
|
void |
setName(java.lang.String value) |
void |
setParent_unsafe(MDLObject value)
[@property] parent
|
void |
setParent(MDLObject value)
[@property] parent
|
void |
setTransform(MDLTransformComponent value)
[@property] transform
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
MDLTransformComponent |
transform()
[@property] transform
|
static long |
version_static() |
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static MDLObject alloc()
public static MDLObject allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static MDLObject new_objc()
public static MDLObject objectWithSCNNodeBufferAllocator(SCNNode scnNode, MDLMeshBufferAllocator bufferAllocator)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void addChild(MDLObject child)
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.
MDLObjectContainerpublic MDLObjectContainerComponent children()
Short hand property for the MDLObjectContainerComponent.
The default value is nil
MDLObjectContainerComponentpublic void enumerateChildObjectsOfClassRootUsingBlockStopPointer(org.moe.natj.objc.Class objectClass,
MDLObject root,
MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer block,
org.moe.natj.general.ptr.BoolPtr stopPointer)
public boolean hidden()
Visibility of the node
default is NO
public MDLObject instance()
Instance object
nil, unless this object refers to original data to be instanced. The original data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any original objects parsed from that file will be found in the originals property. A typical use of a original and instance might be to have one original 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 original object.
public MDLObject objectAtPath(java.lang.String path)
public MDLObject parent()
Parent object. Nil if no parent.
Set to nil when you remove this from an object container inside the parent object.
public java.lang.String 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.
public void setChildren(MDLObjectContainerComponent value)
Short hand property for the MDLObjectContainerComponent.
The default value is nil
MDLObjectContainerComponentpublic void setHidden(boolean value)
Visibility of the node
default is NO
public void setInstance(MDLObject value)
Instance object
nil, unless this object refers to original data to be instanced. The original data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any original objects parsed from that file will be found in the originals property. A typical use of a original and instance might be to have one original 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 original object.
public void setParent_unsafe(MDLObject value)
Parent object. Nil if no parent.
Set to nil when you remove this from an object container inside the parent object.
public void setParent(MDLObject value)
Parent object. Nil if no parent.
Set to nil when you remove this from an object container inside the parent object.
public void setTransform(MDLTransformComponent value)
Short hand property for the MDLTransformComponent.
The default value is nil
MDLTransformComponentpublic MDLTransformComponent transform()
Short hand property for the MDLTransformComponent.
The default value is nil
MDLTransformComponentpublic NSArray<?> components()
Allows applications to introspect the components on the objects.