StructuralMetadata
Inheritance: java.lang.Object
public class StructuralMetadata
Questa classe fornisce supporto per EXT_structural_metadata, usato solo in glTF.
Costruttori
| Costruttore | Descrizione |
|---|---|
| StructuralMetadata() |
Metodi
| Metodo | Descrizione |
|---|---|
| attach(Scene scene) | Allega i metadati correnti alla scena specificata |
| createClass(String name) | Crea un tipo di classe meta |
| createEnum(String name) | Crea un tipo enum |
| createPropertyTable(String name, StructuralMetadata.ClassType clazz) | Crea una nuova tabella delle proprietà con il tipo di classe meta fornito |
| equals(Object arg0) | |
| from(Scene scene) | Ottieni StructuralMetadata associato alla scena specificata. |
| getClass() | |
| getClasses() | Le definizioni della classe. |
| getEnums() | Le definizioni del tipo enum |
| getPropertyTables() | Le tabelle delle proprietà in questi metadati. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
StructuralMetadata()
public StructuralMetadata()
attach(Scene scene)
public void attach(Scene scene)
Allega i metadati correnti alla scena specificata
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| scene | Scene |
createClass(String name)
public StructuralMetadata.ClassType createClass(String name)
Crea un tipo di classe meta
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Il nome della classe |
Returns: ClassType - Instance of the meta class
createEnum(String name)
public StructuralMetadata.EnumType createEnum(String name)
Crea un tipo enum
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Il nome del tipo enum |
Returns: EnumType - Instance of the enum type
createPropertyTable(String name, StructuralMetadata.ClassType clazz)
public StructuralMetadata.PropertyTable createPropertyTable(String name, StructuralMetadata.ClassType clazz)
Crea una nuova tabella delle proprietà con il tipo di classe meta fornito
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | java.lang.String | Il nome della tabella delle proprietà |
| clazz | ClassType | Il tipo di classe della nuova tabella delle proprietà |
Returns: PropertyTable - The new instance of property table
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
from(Scene scene)
public static StructuralMetadata from(Scene scene)
Ottieni StructuralMetadata associato alla scena specificata.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| scene | Scene | Quale scena cercare per i metadati strutturali |
Returns: StructuralMetadata - A valid instance of StructuralMetadata if its found in the scene, otherwise null returned
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getClasses()
public HashMap<String,StructuralMetadata.ClassType> getClasses()
Le definizioni della classe.
Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.ClassType> - Le definizioni di classe.
getEnums()
public HashMap<String,StructuralMetadata.EnumType> getEnums()
Le definizioni del tipo enum
Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.EnumType> - Le definizioni del tipo enum
getPropertyTables()
public ArrayList<StructuralMetadata.PropertyTable> getPropertyTables()
Le tabelle delle proprietà in questi metadati.
Returns: java.util.ArrayList<com.aspose.threed.StructuralMetadata.PropertyTable> - Le tabelle delle proprietà in questi metadati.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |