public class SCNShape extends SCNGeometry
SCNShape represents a 2D shape (cubic Bezier spline) than can be extruded.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retSCNShadable.Block_handleBindingOfSymbolUsingBlock, SCNShadable.Block_handleUnbindingOfSymbolUsingBlock| Modifier | Constructor and Description |
|---|---|
protected |
SCNShape(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 SCNShape |
alloc() |
static SCNShape |
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) |
long |
chamferMode()
[@property] chamferMode
|
UIBezierPath |
chamferProfile()
[@property] chamferProfile
|
double |
chamferRadius()
[@property] chamferRadius
|
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() |
double |
extrusionDepth()
[@property] extrusionDepth
|
static SCNShape |
geometry() |
static SCNShape |
geometryWithMDLMesh(MDLMesh mdlMesh) |
static SCNShape |
geometryWithSourcesElements(NSArray<? extends SCNGeometrySource> sources,
NSArray<? extends SCNGeometryElement> elements) |
static long |
hash_static() |
SCNShape |
init() |
SCNShape |
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 SCNShape |
new_objc() |
UIBezierPath |
path()
[@property] path
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setChamferMode(long value)
[@property] chamferMode
|
void |
setChamferProfile(UIBezierPath value)
[@property] chamferProfile
|
void |
setChamferRadius(double value)
[@property] chamferRadius
|
void |
setExtrusionDepth(double value)
[@property] extrusionDepth
|
void |
setPath(UIBezierPath value)
[@property] path
|
static void |
setVersion_static(long aVersion) |
static SCNShape |
shapeWithPathExtrusionDepth(UIBezierPath path,
double extrusionDepth)
shapeWithPath:extrusionDepth:
|
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 SCNShape alloc()
public static SCNShape 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 SCNShape geometry()
public static SCNShape 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 SCNShape 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 SCNShape shapeWithPathExtrusionDepth(UIBezierPath path, double extrusionDepth)
Creates and returns a 3D representation of the given shape with the given extrusion depth.
path - The cubic Bezier spline to extrude.extrusionDepth - The extrusion depth.public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public long chamferMode()
The sides of the text that are chamfered.
The default value is SCNChamferModeBoth.
public UIBezierPath chamferProfile()
Describes the profile used to when "chamferRadius" is not nil. When "chamferProfile" is nil we fallback on a path representing a quadrant.
The profile should be a 2D curve beginning at (0,1) and ending at (1,0). The "flatness" property is also used to flatten this path. The default value is nil.
public double chamferRadius()
The chamfer radius. Animatable.
Values are clamped to the range [0, extrusionDepth / 2]. The default value is 0.
public double extrusionDepth()
The extrusion depth. Animatable.
If the value is 0, we get a mono-sided, 2D version of the shape.
public SCNShape init()
init in class SCNGeometrypublic SCNShape initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class SCNGeometrypublic UIBezierPath path()
The path defining the shape to be rendered.
The path defines the outline of the shape. The path is filled using the even-odd rule. If the path is self-intersecting, the behavior is undefined.
public void setChamferMode(long value)
The sides of the text that are chamfered.
The default value is SCNChamferModeBoth.
public void setChamferProfile(UIBezierPath value)
Describes the profile used to when "chamferRadius" is not nil. When "chamferProfile" is nil we fallback on a path representing a quadrant.
The profile should be a 2D curve beginning at (0,1) and ending at (1,0). The "flatness" property is also used to flatten this path. The default value is nil.
public void setChamferRadius(double value)
The chamfer radius. Animatable.
Values are clamped to the range [0, extrusionDepth / 2]. The default value is 0.
public void setExtrusionDepth(double value)
The extrusion depth. Animatable.
If the value is 0, we get a mono-sided, 2D version of the shape.
public void setPath(UIBezierPath value)
The path defining the shape to be rendered.
The path defines the outline of the shape. The path is filled using the even-odd rule. If the path is self-intersecting, the behavior is undefined.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class SCNGeometry