public class SCNCapsule extends SCNGeometry
SCNCapsule represents a capsule with controllable height and cap radius.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retSCNShadable.Block_handleBindingOfSymbolUsingBlock, SCNShadable.Block_handleUnbindingOfSymbolUsingBlock| Modifier | Constructor and Description |
|---|---|
protected |
SCNCapsule(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 SCNCapsule |
alloc() |
static SCNCapsule |
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) |
double |
capRadius()
[@property] capRadius
|
long |
capSegmentCount()
[@property] capSegmentCount
|
static SCNCapsule |
capsuleWithCapRadiusHeight(double capRadius,
double height)
capsuleWithCapRadius:height:
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static SCNCapsule |
geometry() |
static SCNCapsule |
geometryWithMDLMesh(MDLMesh mdlMesh) |
static SCNCapsule |
geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources,
NSArray<? extends SCNGeometryElement> elements) |
static long |
hash_static() |
double |
height()
[@property] height
|
long |
heightSegmentCount()
[@property] heightSegmentCount
|
SCNCapsule |
init() |
SCNCapsule |
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) |
static SCNCapsule |
new_objc() |
long |
radialSegmentCount()
[@property] radialSegmentCount
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setCapRadius(double value)
[@property] capRadius
|
void |
setCapSegmentCount(long value)
[@property] capSegmentCount
|
void |
setHeight(double value)
[@property] height
|
void |
setHeightSegmentCount(long value)
[@property] heightSegmentCount
|
void |
setRadialSegmentCount(long value)
[@property] radialSegmentCount
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
addAnimationForKey, addAnimationPlayerForKey, animationForKey, animationKeys, animationPlayerForKey, copyWithZone, edgeCreasesElement, edgeCreasesSource, encodeWithCoder, firstMaterial, geometryElementAtIndex, geometryElementCount, geometryElements, geometrySources, geometrySourcesForSemantic, getBoundingBoxMinMax, getBoundingSphereCenterRadius, handleBindingOfSymbolUsingBlock, handleUnbindingOfSymbolUsingBlock, insertMaterialAtIndex, isAnimationForKeyPaused, levelsOfDetail, materials, materialWithName, minimumLanguageVersion, name, pauseAnimationForKey, program, removeAllAnimations, removeAllAnimationsWithBlendOutDuration, removeAnimationForKey, removeAnimationForKeyBlendOutDuration, removeAnimationForKeyFadeOutDuration, removeMaterialAtIndex, replaceMaterialAtIndexWithMaterial, resumeAnimationForKey, setBoundingBoxMinMax, setEdgeCreasesElement, setEdgeCreasesSource, setFirstMaterial, setLevelsOfDetail, setMaterials, setMinimumLanguageVersion, setName, setProgram, setShaderModifiers, setSpeedForAnimationKey, setSubdivisionLevel, setTessellator, setWantsAdaptiveSubdivision, shaderModifiers, subdivisionLevel, tessellator, wantsAdaptiveSubdivisionaccessibilityActivate, 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 SCNCapsule alloc()
public static SCNCapsule 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 SCNCapsule capsuleWithCapRadiusHeight(double capRadius, double height)
Creates and returns a capsule with given radius and height.
capRadius - The radius of the capsule.height - The height of the capsule.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 SCNCapsule geometry()
public static SCNCapsule geometryWithMDLMesh(MDLMesh mdlMesh)
public static SCNCapsule geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources, NSArray<? extends SCNGeometryElement> elements)
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 SCNCapsule 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 double capRadius()
The cap radius of the capsule. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 0.5.
public long capSegmentCount()
The number of subdivisions in the cap. Animatable.
If the value is less than 2, the behavior is undefined. The default value is 24.
public double height()
The height of the capsule. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 2.
public long heightSegmentCount()
The number of subdivisions along the Y axis. Animatable.
If the value is less than 1, the behavior is undefined. The default value is 1.
public SCNCapsule init()
init in class SCNGeometrypublic SCNCapsule initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class SCNGeometrypublic long radialSegmentCount()
The number of subdivisions along the radial coordinate. Animatable.
If the value is less than 3, the behavior is undefined. The default value is 48.
public void setCapRadius(double value)
The cap radius of the capsule. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 0.5.
public void setCapSegmentCount(long value)
The number of subdivisions in the cap. Animatable.
If the value is less than 2, the behavior is undefined. The default value is 24.
public void setHeight(double value)
The height of the capsule. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 2.
public void setHeightSegmentCount(long value)
The number of subdivisions along the Y axis. Animatable.
If the value is less than 1, the behavior is undefined. The default value is 1.
public void setRadialSegmentCount(long value)
The number of subdivisions along the radial coordinate. Animatable.
If the value is less than 3, the behavior is undefined. The default value is 48.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class SCNGeometry