StructuralMetadata

Inheritance: java.lang.Object

public class StructuralMetadata

Deze klasse biedt ondersteuning voor EXT_structural_metadata, alleen gebruikt in glTF.

Constructors

ConstructorBeschrijving
StructuralMetadata()

Methoden

MethodeBeschrijving
attach(Scene scene)Huidige metagegevens aan de opgegeven scène koppelen
createClass(String name)Een meta‑klassetype maken
createEnum(String name)Een enum‑type maken
createPropertyTable(String name, StructuralMetadata.ClassType clazz)Een nieuwe eigenschapstabel maken met het opgegeven meta‑klassetype
equals(Object arg0)
from(Scene scene)Haalt StructuralMetadata op die aan de opgegeven scène is gekoppeld.
getClass()
getClasses()De klassedefinities.
getEnums()De enum‑type-definities
getPropertyTables()De eigenschapstabellen in deze metadata.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

StructuralMetadata()

public StructuralMetadata()

attach(Scene scene)

public void attach(Scene scene)

Huidige metagegevens aan de opgegeven scène koppelen

Parameters:

ParameterTypeBeschrijving
sceneScene

createClass(String name)

public StructuralMetadata.ClassType createClass(String name)

Een meta‑klassetype maken

Parameters:

ParameterTypeBeschrijving
naamjava.lang.StringDe naam van de klasse

Returns: ClassType - Instance of the meta class

createEnum(String name)

public StructuralMetadata.EnumType createEnum(String name)

Een enum‑type maken

Parameters:

ParameterTypeBeschrijving
naamjava.lang.StringDe naam van het enumtype

Returns: EnumType - Instance of the enum type

createPropertyTable(String name, StructuralMetadata.ClassType clazz)

public StructuralMetadata.PropertyTable createPropertyTable(String name, StructuralMetadata.ClassType clazz)

Een nieuwe eigenschapstabel maken met het opgegeven meta‑klassetype

Parameters:

ParameterTypeBeschrijving
naamjava.lang.StringDe naam van de eigenschapstabel
clazzClassTypeHet klassetype van de nieuwe eigenschapstabel

Returns: PropertyTable - The new instance of property table

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeBeschrijving
arg0java.lang.Object

Returns: boolean

from(Scene scene)

public static StructuralMetadata from(Scene scene)

Haalt StructuralMetadata op die aan de opgegeven scène is gekoppeld.

Parameters:

ParameterTypeBeschrijving
sceneSceneWelke scène moet worden doorzocht voor de structurele metadata

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()

De klassedefinities.

Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.ClassType> - De klasse-definities.

getEnums()

public HashMap<String,StructuralMetadata.EnumType> getEnums()

De enum‑type-definities

Returns: java.util.HashMap<java.lang.String,com.aspose.threed.StructuralMetadata.EnumType> - De enumtype-definities

getPropertyTables()

public ArrayList<StructuralMetadata.PropertyTable> getPropertyTables()

De eigenschapstabellen in deze metadata.

Returns: java.util.ArrayList<com.aspose.threed.StructuralMetadata.PropertyTable> - De eigenschapstabellen in deze metadata.

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:

ParameterTypeBeschrijving
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeBeschrijving
arg0long
arg1int