public class SCNTube extends SCNGeometry
SCNTube represents a tube with controllable height, inner radius and outer radius.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retSCNShadable.Block_handleBindingOfSymbolUsingBlock, SCNShadable.Block_handleUnbindingOfSymbolUsingBlock| Modifier | Constructor and Description |
|---|---|
protected |
SCNTube(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 SCNTube |
alloc() |
static SCNTube |
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) |
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 SCNTube |
geometry() |
static SCNTube |
geometryWithMDLMesh(MDLMesh mdlMesh) |
static SCNTube |
geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources,
NSArray<? extends SCNGeometryElement> elements) |
static long |
hash_static() |
double |
height()
[@property] height
|
long |
heightSegmentCount()
[@property] heightSegmentCount
|
SCNTube |
init() |
SCNTube |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
double |
innerRadius()
[@property] innerRadius
|
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 SCNTube |
new_objc() |
double |
outerRadius()
[@property] outerRadius
|
long |
radialSegmentCount()
[@property] radialSegmentCount
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setHeight(double value)
[@property] height
|
void |
setHeightSegmentCount(long value)
[@property] heightSegmentCount
|
void |
setInnerRadius(double value)
[@property] innerRadius
|
void |
setOuterRadius(double value)
[@property] outerRadius
|
void |
setRadialSegmentCount(long value)
[@property] radialSegmentCount
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static SCNTube |
tubeWithInnerRadiusOuterRadiusHeight(double innerRadius,
double outerRadius,
double height)
tubeWithInnerRadius:outerRadius:height:
|
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 SCNTube alloc()
public static SCNTube 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 SCNTube geometry()
public static SCNTube 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 SCNTube 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 SCNTube tubeWithInnerRadiusOuterRadiusHeight(double innerRadius, double outerRadius, double height)
Creates and returns a tube with given inner radius, outer radius and height.
innerRadius - The inner radius of the tube.outerRadius - The outer radius of the tube.height - The height of the tube.public static long version_static()
public double height()
The height of the tube. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 1.
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 SCNTube init()
init in class SCNGeometrypublic SCNTube initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class SCNGeometrypublic double innerRadius()
The inner radius of the tube. Animatable.
If the value is less than or equal to 0, or if it is greater than or equal to the outer radius, then the geometry is empty. The default value is 0.25.
public double outerRadius()
The outer radius of the tube. Animatable.
If the value is less than or equal to 0, or if it is less than or equal to the inner radius, then the geometry is empty. The default value is 0.5.
public 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 setHeight(double value)
The height of the tube. Animatable.
If the value is less than or equal to 0, the geometry is empty. The default value is 1.
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 setInnerRadius(double value)
The inner radius of the tube. Animatable.
If the value is less than or equal to 0, or if it is greater than or equal to the outer radius, then the geometry is empty. The default value is 0.25.
public void setOuterRadius(double value)
The outer radius of the tube. Animatable.
If the value is less than or equal to 0, or if it is less than or equal to the inner radius, then the geometry is empty. The default value is 0.5.
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