StructuralMetadata
Inheritance: java.lang.Object
public class StructuralMetadata
Cette classe fournit la prise en charge de EXT_structural_metadata, uniquement utilisé dans glTF.
Constructeurs
| Constructeur | Description |
|---|---|
| StructuralMetadata() |
Méthodes
| Méthode | Description |
|---|---|
| attach(Scene scene) | Attacher les métadonnées actuelles à la scène spécifiée |
| createClass(String name) | Créer un type de classe méta |
| createEnum(String name) | Créer un type d’énumération |
| createPropertyTable(String name, StructuralMetadata.ClassType clazz) | Créer une nouvelle table de propriétés avec le type de classe méta donné |
| equals(Object arg0) | |
| from(Scene scene) | Obtenir StructuralMetadata associé à la scène spécifiée. |
| getClass() | |
| getClasses() | Les définitions de classe. |
| getEnums() | Les définitions de type d’énumération |
| getPropertyTables() | Les tables de propriétés dans ces métadonnées. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
StructuralMetadata()
public StructuralMetadata()
attach(Scene scene)
public void attach(Scene scene)
Attacher les métadonnées actuelles à la scène spécifiée
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| scene | Scene |
createClass(String name)
public StructuralMetadata.ClassType createClass(String name)
Créer un type de classe méta
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Le nom de la classe |
Returns: ClassType - Instance of the meta class
createEnum(String name)
public StructuralMetadata.EnumType createEnum(String name)
Créer un type d’énumération
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Le nom du type d’énumération |
Returns: EnumType - Instance of the enum type
createPropertyTable(String name, StructuralMetadata.ClassType clazz)
public StructuralMetadata.PropertyTable createPropertyTable(String name, StructuralMetadata.ClassType clazz)
Créer une nouvelle table de propriétés avec le type de classe méta donné
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Le nom de la table de propriétés |
| clazz | ClassType | Le type de classe de la nouvelle table de propriétés |
Returns: PropertyTable - The new instance of property table
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
from(Scene scene)
public static StructuralMetadata from(Scene scene)
Obtenir StructuralMetadata associé à la scène spécifiée.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| scene | Scene | Quelle scène rechercher pour les métadonnées structurelles |
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()
Les définitions de classe.
Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.ClassType> - Les définitions de classe .
getEnums()
public HashMap<String,StructuralMetadata.EnumType> getEnums()
Les définitions de type d’énumération
Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.EnumType> - Les définitions du type d’énumération
getPropertyTables()
public ArrayList<StructuralMetadata.PropertyTable> getPropertyTables()
Les tables de propriétés dans ces métadonnées.
Returns: java.util.ArrayList<com.aspose.threed.StructuralMetadata.PropertyTable> - Les tables de propriétés dans ces métadonnées.
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:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |