I3mfMetadata | Babylon.js API documentation

API
Babylon.js API documentation
    Preparing search index...

    Interface I3mfMetadata

    Generic metadata entry. Metadata can appear at the model level () and inside metadata groups ().

    Notes:

    • "name" is the metadata key.
    • "type" is optional and can be a MIME type or a schema indicator depending on usage.
    • "preserve" instructs consumers whether to keep metadata when modifying the model.
    interface I3mfMetadata {
        name: string;
        preserve?: boolean;
        type?: string;
        value: string;
    }

    Implemented by

    Index
    name: string

    Metadata key (required).

    preserve?: boolean

    If true, indicates the metadata should be preserved by consumers (optional).

    type?: string

    Optional type information for the value.

    value: string

    Metadata value (required).