Package org.robovm.apple.modelio
Class MDLMaterial
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.modelio.MDLMaterial
-
- All Implemented Interfaces:
NSFastEnumeration
,NSObjectProtocol
,MDLNamed
,org.robovm.objc.ObjCProtocol
public class MDLMaterial extends NSObject implements MDLNamed, NSFastEnumeration
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MDLMaterial.MDLMaterialPtr
-
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 MDLMaterial()
MDLMaterial(java.lang.String name, MDLScatteringFunction scatteringFunction)
protected
MDLMaterial(NSObject.Handle h, long handle)
protected
MDLMaterial(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MDLMaterial
getBaseMaterial()
long
getCount()
MDLMaterialFace
getMaterialFace()
java.lang.String
getName()
NSArray<MDLMaterialProperty>
getProperties(MDLMaterialSemantic semantic)
MDLMaterialProperty
getProperty(long idx)
MDLMaterialProperty
getProperty(java.lang.String name)
MDLMaterialProperty
getProperty(MDLMaterialSemantic semantic)
MDLScatteringFunction
getScatteringFunction()
protected long
init(java.lang.String name, MDLScatteringFunction scatteringFunction)
void
loadTexturesUsingResolver(MDLAssetResolver resolver)
void
removeAllProperties()
void
removeProperty(MDLMaterialProperty property)
void
resolveTextures(MDLAssetResolver resolver)
void
setBaseMaterial(MDLMaterial v)
void
setMaterialFace(MDLMaterialFace v)
void
setName(java.lang.String v)
void
setProperty(MDLMaterialProperty property)
-
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
-
MDLMaterial
public MDLMaterial()
-
MDLMaterial
protected MDLMaterial(NSObject.Handle h, long handle)
-
MDLMaterial
protected MDLMaterial(NSObject.SkipInit skipInit)
-
MDLMaterial
public MDLMaterial(java.lang.String name, MDLScatteringFunction scatteringFunction)
-
-
Method Detail
-
getScatteringFunction
public MDLScatteringFunction getScatteringFunction()
-
getBaseMaterial
public MDLMaterial getBaseMaterial()
-
setBaseMaterial
public void setBaseMaterial(MDLMaterial v)
-
getCount
public long getCount()
-
getMaterialFace
public MDLMaterialFace getMaterialFace()
-
setMaterialFace
public void setMaterialFace(MDLMaterialFace v)
-
init
protected long init(java.lang.String name, MDLScatteringFunction scatteringFunction)
-
setProperty
public void setProperty(MDLMaterialProperty property)
-
removeProperty
public void removeProperty(MDLMaterialProperty property)
-
getProperty
public MDLMaterialProperty getProperty(java.lang.String name)
-
getProperty
public MDLMaterialProperty getProperty(MDLMaterialSemantic semantic)
-
getProperties
public NSArray<MDLMaterialProperty> getProperties(MDLMaterialSemantic semantic)
- Since:
- Available in iOS 11.0 and later.
-
removeAllProperties
public void removeAllProperties()
-
resolveTextures
public void resolveTextures(MDLAssetResolver resolver)
- Since:
- Available in iOS 11.0 and later.
-
loadTexturesUsingResolver
public void loadTexturesUsingResolver(MDLAssetResolver resolver)
- Since:
- Available in iOS 11.0 and later.
-
getProperty
public MDLMaterialProperty getProperty(long idx)
-
-