Package org.robovm.apple.scenekit
Class SCNMaterialProperty
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.scenekit.SCNMaterialProperty
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,SCNAnimatable
,org.robovm.objc.ObjCProtocol
public class SCNMaterialProperty extends NSObject implements SCNAnimatable, NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNMaterialProperty.SCNMaterialPropertyPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SCNMaterialProperty()
SCNMaterialProperty(NSCoder decoder)
protected
SCNMaterialProperty(NSObject.Handle h, long handle)
protected
SCNMaterialProperty(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addAnimation(SCNAnimation animation, java.lang.String key)
void
addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
SCNAnimationPlayer
animationPlayerForKey(java.lang.String key)
static SCNMaterialProperty
create(NSObject contents)
void
encode(NSCoder coder)
CAAnimation
getAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.NSArray<NSString>
getAnimationKeys()
NSObject
getBorderColor()
Deprecated.Deprecated in iOS 10.0.NSObject
getContents()
SCNMatrix4
getContentsTransform()
double
getIntensity()
SCNFilterMode
getMagnificationFilter()
long
getMappingChannel()
double
getMaxAnisotropy()
SCNFilterMode
getMinificationFilter()
SCNFilterMode
getMipFilter()
SCNColorMask
getTextureComponents()
SCNWrapMode
getWrapS()
SCNWrapMode
getWrapT()
protected long
init(NSCoder decoder)
boolean
isAnimationPaused(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
pauseAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
removeAllAnimations()
void
removeAnimation(java.lang.String key)
void
removeAnimation(java.lang.String key, double duration)
Deprecated.Deprecated in iOS 11.0.void
removeAnimationForKey(java.lang.String key, double duration)
void
resumeAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
setBorderColor(NSObject v)
Deprecated.Deprecated in iOS 10.0.void
setContents(NSObject v)
void
setContentsTransform(SCNMatrix4 v)
void
setIntensity(double v)
void
setMagnificationFilter(SCNFilterMode v)
void
setMappingChannel(long v)
void
setMaxAnisotropy(double v)
void
setMinificationFilter(SCNFilterMode v)
void
setMipFilter(SCNFilterMode v)
void
setSpeed(double speed, java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
setTextureComponents(SCNColorMask v)
void
setWrapS(SCNWrapMode v)
void
setWrapT(SCNWrapMode v)
static boolean
supportsSecureCoding()
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
SCNMaterialProperty
public SCNMaterialProperty()
-
SCNMaterialProperty
protected SCNMaterialProperty(NSObject.Handle h, long handle)
-
SCNMaterialProperty
protected SCNMaterialProperty(NSObject.SkipInit skipInit)
-
SCNMaterialProperty
public SCNMaterialProperty(NSCoder decoder)
-
-
Method Detail
-
getContents
public NSObject getContents()
-
setContents
public void setContents(NSObject v)
-
getIntensity
public double getIntensity()
-
setIntensity
public void setIntensity(double v)
-
getMinificationFilter
public SCNFilterMode getMinificationFilter()
-
setMinificationFilter
public void setMinificationFilter(SCNFilterMode v)
-
getMagnificationFilter
public SCNFilterMode getMagnificationFilter()
-
setMagnificationFilter
public void setMagnificationFilter(SCNFilterMode v)
-
getMipFilter
public SCNFilterMode getMipFilter()
-
setMipFilter
public void setMipFilter(SCNFilterMode v)
-
getContentsTransform
public SCNMatrix4 getContentsTransform()
-
setContentsTransform
public void setContentsTransform(SCNMatrix4 v)
-
getWrapS
public SCNWrapMode getWrapS()
-
setWrapS
public void setWrapS(SCNWrapMode v)
-
getWrapT
public SCNWrapMode getWrapT()
-
setWrapT
public void setWrapT(SCNWrapMode v)
-
getBorderColor
@Deprecated public NSObject getBorderColor()
Deprecated.Deprecated in iOS 10.0. Deprecated- Since:
- Available in iOS 8.0 and later.
-
setBorderColor
@Deprecated public void setBorderColor(NSObject v)
Deprecated.Deprecated in iOS 10.0. Deprecated- Since:
- Available in iOS 8.0 and later.
-
getMappingChannel
public long getMappingChannel()
-
setMappingChannel
public void setMappingChannel(long v)
-
getTextureComponents
public SCNColorMask getTextureComponents()
- Since:
- Available in iOS 11.0 and later.
-
setTextureComponents
public void setTextureComponents(SCNColorMask v)
- Since:
- Available in iOS 11.0 and later.
-
getMaxAnisotropy
public double getMaxAnisotropy()
-
setMaxAnisotropy
public void setMaxAnisotropy(double v)
-
getAnimationKeys
public NSArray<NSString> getAnimationKeys()
- Specified by:
getAnimationKeys
in interfaceSCNAnimatable
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
create
public static SCNMaterialProperty create(NSObject contents)
-
addAnimation
public void addAnimation(SCNAnimation animation, java.lang.String key)
- Specified by:
addAnimation
in interfaceSCNAnimatable
-
addAnimationPlayer
public void addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
- Specified by:
addAnimationPlayer
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAllAnimations
public void removeAllAnimations()
- Specified by:
removeAllAnimations
in interfaceSCNAnimatable
-
removeAnimation
public void removeAnimation(java.lang.String key)
- Specified by:
removeAnimation
in interfaceSCNAnimatable
-
animationPlayerForKey
public SCNAnimationPlayer animationPlayerForKey(java.lang.String key)
- Specified by:
animationPlayerForKey
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAnimationForKey
public void removeAnimationForKey(java.lang.String key, double duration)
- Specified by:
removeAnimationForKey
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAnimation
@Deprecated public void removeAnimation(java.lang.String key, double duration)
Deprecated.Deprecated in iOS 11.0.- Specified by:
removeAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
getAnimation
@Deprecated public CAAnimation getAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.- Specified by:
getAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
pauseAnimation
@Deprecated public void pauseAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
pauseAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
resumeAnimation
@Deprecated public void resumeAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead- Specified by:
resumeAnimation
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
setSpeed
@Deprecated public void setSpeed(double speed, java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead- Specified by:
setSpeed
in interfaceSCNAnimatable
- Since:
- Available in iOS 10.0 and later.
-
isAnimationPaused
@Deprecated public boolean isAnimationPaused(java.lang.String key)
Deprecated.Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead- Specified by:
isAnimationPaused
in interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
init
protected long init(NSCoder decoder)
-
-