public static class IRhino3dm.Material extends IRhino3dm.RhinoObject
| Modifier and Type | Field and Description |
|---|---|
IColor |
ambient |
IColor |
diffuse |
IColor |
emission |
java.lang.String |
flamingoLibrary |
(package private) IMaterial |
imaterial |
double |
indexOfRefraction |
java.util.ArrayList<IRhino3dm.UUIDIndex> |
materialChannel |
IRhino3dm.UUID |
materialId |
int |
materialIndex |
java.lang.String |
materialName |
IRhino3dm.UUID |
pluginId |
IColor |
reflection |
double |
reflectivity |
boolean |
shared |
double |
shine |
IColor |
specular |
java.util.ArrayList<IRhino3dm.Texture> |
textures |
double |
transparency |
IColor |
transparent |
static java.lang.String |
uuid |
attributes, objectTypeAnnotation, objectTypeAny, objectTypeBeam, objectTypeBrep, objectTypeCage, objectTypeClipPlane, objectTypeCurve, objectTypeDetail, objectTypeEdgeFilter, objectTypeExtrusion, objectTypeGrip, objectTypeHatch, objectTypeInstanceDefinition, objectTypeInstanceReference, objectTypeLayer, objectTypeLight, objectTypeLoop, objectTypeMaterial, objectTypeMesh, objectTypeMeshEdge, objectTypeMeshFace, objectTypeMeshVertex, objectTypeMorphControl, objectTypePhantom, objectTypePoint, objectTypePointset, objectTypePolyledgeFilter, objectTypePolysrfFilter, objectTypeSurface, objectTypeTextDot, objectTypeUnknown, objectTypeUserData, userDataList| Constructor and Description |
|---|
Material() |
Material(IBasicMaterial mat) |
| Modifier and Type | Method and Description |
|---|---|
IRhino3dm.UUID |
getClassUUID() |
int |
getType() |
void |
read(IRhino3dm.Rhino3dmFile context,
java.io.InputStream is) |
void |
readV3(IRhino3dm.Rhino3dmFile context,
java.io.InputStream is,
int minorVersion) |
java.lang.String |
toString() |
void |
write(IRhino3dm.Rhino3dmFile context,
java.io.OutputStream os,
java.util.zip.CRC32 crc) |
createIObject, read, setAttributes, setAttributesToIObjectpublic static final java.lang.String uuid
public IRhino3dm.UUID materialId
public int materialIndex
public java.lang.String materialName
public java.lang.String flamingoLibrary
public IColor ambient
public IColor diffuse
public IColor emission
public IColor specular
public IColor reflection
public IColor transparent
public double indexOfRefraction
public double reflectivity
public double shine
public double transparency
public boolean shared
public java.util.ArrayList<IRhino3dm.Texture> textures
public java.util.ArrayList<IRhino3dm.UUIDIndex> materialChannel
public IRhino3dm.UUID pluginId
IMaterial imaterial
public Material()
public Material(IBasicMaterial mat)
public IRhino3dm.UUID getClassUUID()
getClassUUID in class IRhino3dm.RhinoObjectpublic int getType()
getType in class IRhino3dm.RhinoObjectpublic void read(IRhino3dm.Rhino3dmFile context, java.io.InputStream is) throws java.io.IOException
read in class IRhino3dm.RhinoObjectjava.io.IOExceptionpublic void readV3(IRhino3dm.Rhino3dmFile context, java.io.InputStream is, int minorVersion) throws java.io.IOException
java.io.IOExceptionpublic void write(IRhino3dm.Rhino3dmFile context, java.io.OutputStream os, java.util.zip.CRC32 crc) throws java.io.IOException
write in class IRhino3dm.RhinoObjectjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object