Package org.robovm.apple.scenekit
Class SCNGeometry
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.scenekit.SCNGeometry
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,SCNAnimatable,SCNBoundingVolume,SCNShadable,ObjCProtocol
- Direct Known Subclasses:
ARSCNFaceGeometry,ARSCNPlaneGeometry,SCNBox,SCNCapsule,SCNCone,SCNCylinder,SCNFloor,SCNPlane,SCNPyramid,SCNShape,SCNSphere,SCNText,SCNTorus,SCNTube
public class SCNGeometry extends NSObject implements SCNAnimatable, SCNBoundingVolume, SCNShadable, NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSCNGeometry.SCNGeometryPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description SCNGeometry()SCNGeometry(NSCoder coder)protectedSCNGeometry(NSObject.Handle h, long handle)protectedSCNGeometry(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
SCNGeometry
public SCNGeometry() -
SCNGeometry
-
SCNGeometry
-
SCNGeometry
-
-
Method Details
-
getName
-
setName
-
getMaterials
-
setMaterials
-
getFirstMaterial
-
setFirstMaterial
-
getGeometrySources
-
getGeometryElements
-
getGeometryElementCount
public long getGeometryElementCount() -
getLevelsOfDetail
-
setLevelsOfDetail
-
getTessellator
- Since:
- Available in iOS 11.0 and later.
-
setTessellator
- Since:
- Available in iOS 11.0 and later.
-
getSubdivisionLevel
public long getSubdivisionLevel() -
setSubdivisionLevel
public void setSubdivisionLevel(long v) -
wantsAdaptiveSubdivision
public boolean wantsAdaptiveSubdivision()- Since:
- Available in iOS 11.0 and later.
-
setWantsAdaptiveSubdivision
public void setWantsAdaptiveSubdivision(boolean v)- Since:
- Available in iOS 11.0 and later.
-
getEdgeCreasesElement
-
setEdgeCreasesElement
-
getEdgeCreasesSource
-
setEdgeCreasesSource
-
getAnimationKeys
- Specified by:
getAnimationKeysin interfaceSCNAnimatable
-
getProgram
- Specified by:
getProgramin interfaceSCNShadable
-
setProgram
- Specified by:
setProgramin interfaceSCNShadable
-
getShaderModifiers
- Specified by:
getShaderModifiersin interfaceSCNShadable
-
setShaderModifiers
- Specified by:
setShaderModifiersin interfaceSCNShadable
-
getMinimumLanguageVersion
- Specified by:
getMinimumLanguageVersionin interfaceSCNShadable- Since:
- Available in iOS 15.0 and later.
-
setMinimumLanguageVersion
- Specified by:
setMinimumLanguageVersionin interfaceSCNShadable- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
insertMaterial
-
removeMaterial
public void removeMaterial(long index) -
replaceMaterial
-
getMaterial
-
getGeometrySourcesForSemantic
public NSArray<SCNGeometrySource> getGeometrySourcesForSemantic(SCNGeometrySourceSemantic semantic) -
getGeometryElement
-
createGeometry
-
createGeometry
public static SCNGeometry createGeometry(NSArray<SCNGeometrySource> sources, NSArray<SCNGeometryElement> elements) -
addAnimation
- Specified by:
addAnimationin interfaceSCNAnimatable
-
addAnimationPlayer
- Specified by:
addAnimationPlayerin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
removeAllAnimations
public void removeAllAnimations()- Specified by:
removeAllAnimationsin interfaceSCNAnimatable
-
removeAllAnimations
public void removeAllAnimations(double duration)- Specified by:
removeAllAnimationsin interfaceSCNAnimatable- Since:
- Available in iOS 15.0 and later.
-
removeAnimation
- Specified by:
removeAnimationin interfaceSCNAnimatable
-
removeAnimationForKey
- Specified by:
removeAnimationForKeyin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
animationPlayerForKey
- Specified by:
animationPlayerForKeyin interfaceSCNAnimatable- Since:
- Available in iOS 11.0 and later.
-
removeAnimation
Deprecated.Deprecated in iOS 11.0. Use -removeAnimationForKey:blendOutDuration:- Specified by:
removeAnimationin interfaceSCNAnimatable
-
getAnimation
Deprecated.Deprecated in iOS 11.0. Use -animationPlayerForKey:- Specified by:
getAnimationin interfaceSCNAnimatable
-
pauseAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
pauseAnimationin interfaceSCNAnimatable
-
resumeAnimation
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
resumeAnimationin interfaceSCNAnimatable
-
setSpeed
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead- Specified by:
setSpeedin interfaceSCNAnimatable- Since:
- Available in iOS 10.0 and later.
-
isAnimationPaused
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead- Specified by:
isAnimationPausedin interfaceSCNAnimatable
-
getBoundingBox
- Specified by:
getBoundingBoxin interfaceSCNBoundingVolume
-
setBoundingBox
- Specified by:
setBoundingBoxin interfaceSCNBoundingVolume
-
getBoundingSphere
- Specified by:
getBoundingSpherein interfaceSCNBoundingVolume
-
handleBindingOfSymbol
public void handleBindingOfSymbol(String symbol, VoidBlock4<Integer,Integer,SCNNode,SCNRenderer> block)- Specified by:
handleBindingOfSymbolin interfaceSCNShadable
-
handleUnbindingOfSymbol
public void handleUnbindingOfSymbol(String symbol, VoidBlock4<Integer,Integer,SCNNode,SCNRenderer> block)- Specified by:
handleUnbindingOfSymbolin interfaceSCNShadable
-
encode
-
init
-