Package org.robovm.apple.modelio
Class MDLPhotometricLight
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.modelio.MDLObject
-
- org.robovm.apple.modelio.MDLLight
-
- org.robovm.apple.modelio.MDLPhysicallyPlausibleLight
-
- org.robovm.apple.modelio.MDLPhotometricLight
-
- All Implemented Interfaces:
NSObjectProtocol
,MDLNamed
,org.robovm.objc.ObjCProtocol
public class MDLPhotometricLight extends MDLPhysicallyPlausibleLight
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MDLPhotometricLight.MDLPhotometricLightPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.modelio.MDLPhysicallyPlausibleLight
MDLPhysicallyPlausibleLight.MDLPhysicallyPlausibleLightPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.modelio.MDLLight
MDLLight.MDLLightPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.modelio.MDLObject
MDLObject.MDLObjectPtr
-
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 MDLPhotometricLight()
protected
MDLPhotometricLight(NSObject.Handle h, long handle)
protected
MDLPhotometricLight(NSObject.SkipInit skipInit)
MDLPhotometricLight(NSURL URL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateCubemap(long textureSize)
void
generateSphericalHarmonics(long sphericalHarmonicsLevel)
MDLTexture
generateTexture(long textureSize)
MDLTexture
getLightCubeMap()
NSData
getSphericalHarmonicsCoefficients()
long
getSphericalHarmonicsLevel()
protected long
init(NSURL URL)
-
Methods inherited from class org.robovm.apple.modelio.MDLPhysicallyPlausibleLight
getAttenuationEndDistance, getAttenuationStartDistance, getColor, getInnerConeAngle, getLumens, getOuterConeAngle, setAttenuationEndDistance, setAttenuationStartDistance, setColor, setColorByTemperature, setInnerConeAngle, setLumens, setOuterConeAngle
-
Methods inherited from class org.robovm.apple.modelio.MDLLight
getColorSpace, getIrradiance, getIrradiance, getLightType, setColorSpace, setLightType
-
Methods inherited from class org.robovm.apple.modelio.MDLObject
addChild, enumerateChildObjects, getBoundingBox, getChildren, getComponent, getComponents, getInstance, getName, getParent, getPath, getTransform, isHidden, objectAtPath, objectForKeyedSubscript, setChildren, setComponent, setHidden, setInstance, setName, setObjectForKeyedSubscript, setParent, setTransform
-
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
-
MDLPhotometricLight
public MDLPhotometricLight()
-
MDLPhotometricLight
protected MDLPhotometricLight(NSObject.Handle h, long handle)
-
MDLPhotometricLight
protected MDLPhotometricLight(NSObject.SkipInit skipInit)
-
MDLPhotometricLight
public MDLPhotometricLight(NSURL URL)
-
-
Method Detail
-
getLightCubeMap
public MDLTexture getLightCubeMap()
-
getSphericalHarmonicsLevel
public long getSphericalHarmonicsLevel()
-
getSphericalHarmonicsCoefficients
public NSData getSphericalHarmonicsCoefficients()
-
init
protected long init(NSURL URL)
-
generateSphericalHarmonics
public void generateSphericalHarmonics(long sphericalHarmonicsLevel)
-
generateCubemap
public void generateCubemap(long textureSize)
-
generateTexture
public MDLTexture generateTexture(long textureSize)
- Since:
- Available in iOS 11.0 and later.
-
-