public class SCNGeometryElement extends NSObject implements NSSecureCoding
A geometry element describes how vertices from a geometry source are connected together.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
SCNGeometryElement(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static SCNGeometryElement |
alloc() |
static SCNGeometryElement |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
bytesPerIndex()
[@property] bytesPerIndex
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSData |
data()
[@property] data
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static SCNGeometryElement |
geometryElementWithBufferPrimitiveTypePrimitiveCountBytesPerIndex(MTLBuffer buffer,
long primitiveType,
long primitiveCount,
long bytesPerIndex)
geometryElementWithBuffer:primitiveType:primitiveCount:bytesPerIndex
|
static SCNGeometryElement |
geometryElementWithDataPrimitiveTypePrimitiveCountBytesPerIndex(NSData data,
long primitiveType,
long primitiveCount,
long bytesPerIndex)
geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:
|
static SCNGeometryElement |
geometryElementWithMDLSubmesh(MDLSubmesh mdlSubMesh) |
static long |
hash_static() |
SCNGeometryElement |
init() |
SCNGeometryElement |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
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) |
double |
maximumPointScreenSpaceRadius()
[@property] maximumPointScreenSpaceRadius
|
double |
minimumPointScreenSpaceRadius()
[@property] minimumPointScreenSpaceRadius
|
static SCNGeometryElement |
new_objc() |
double |
pointSize()
[@property] pointSize
|
long |
primitiveCount()
[@property] primitiveCount
|
NSRange |
primitiveRange()
[@property] primitiveRange
|
long |
primitiveType()
[@property] primitiveType
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setMaximumPointScreenSpaceRadius(double value)
[@property] maximumPointScreenSpaceRadius
|
void |
setMinimumPointScreenSpaceRadius(double value)
[@property] minimumPointScreenSpaceRadius
|
void |
setPointSize(double value)
[@property] pointSize
|
void |
setPrimitiveRange(NSRange value)
[@property] primitiveRange
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
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, willChangeValuesAtIndexesForKeyprotected SCNGeometryElement(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static SCNGeometryElement alloc()
public static SCNGeometryElement 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 SCNGeometryElement geometryElementWithDataPrimitiveTypePrimitiveCountBytesPerIndex(NSData data, long primitiveType, long primitiveCount, long bytesPerIndex)
Creates and returns a geometry element from the given data and data format info.
data - The data that contains element indexes. You can pass nil to use an implicit vertex ordering (0,1,2...).primitiveType - The primitive type, as listed in the SCNGeometryPrimitiveType enumeration.primitiveCount - The number of primitives in the data.bytesPerIndex - The number of bytes that represent a single index value in the data.public static SCNGeometryElement geometryElementWithMDLSubmesh(MDLSubmesh mdlSubMesh)
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 SCNGeometryElement new_objc()
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 boolean supportsSecureCoding()
public static long version_static()
public long bytesPerIndex()
The number of bytes that represent an index value
public NSData data()
The data for the geometry element
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic SCNGeometryElement init()
public SCNGeometryElement initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic long primitiveCount()
The number of primitives in the data.
public long primitiveType()
The type of the geometry element. Possible values are listed in the SCNGeometryPrimitiveType enumeration.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic double maximumPointScreenSpaceRadius()
Specifies the maximum size in screen-space (in pixel). Defaults to 1
public double minimumPointScreenSpaceRadius()
Specifies the minimum size in screen-space (in pixel). Defaults to 1
public double pointSize()
Specifies the size of the point in local space. Defaults to 1
public NSRange primitiveRange()
Specifies the subrange of primitves to render within NSMakeRange(0, primitiveCount). Defaults to NSMakeRange(NSNotFound, 0).
When the location of the range is set to NSNotFound, the entire geometry element is rendered.
public void setMaximumPointScreenSpaceRadius(double value)
Specifies the maximum size in screen-space (in pixel). Defaults to 1
public void setMinimumPointScreenSpaceRadius(double value)
Specifies the minimum size in screen-space (in pixel). Defaults to 1
public void setPointSize(double value)
Specifies the size of the point in local space. Defaults to 1
public void setPrimitiveRange(NSRange value)
Specifies the subrange of primitves to render within NSMakeRange(0, primitiveCount). Defaults to NSMakeRange(NSNotFound, 0).
When the location of the range is set to NSNotFound, the entire geometry element is rendered.
public static SCNGeometryElement geometryElementWithBufferPrimitiveTypePrimitiveCountBytesPerIndex(MTLBuffer buffer, long primitiveType, long primitiveCount, long bytesPerIndex)
Creates and returns a geometry element from the given Metal buffer and parameters.
buffer - The buffer that contains element indexes.primitiveType - The primitive type, as listed in the SCNGeometryPrimitiveType enumeration.primitiveCount - The number of primitives in the data.bytesPerIndex - The number of bytes that represent a single index value in the data.