adobe-firefly-sdk
    Preparing search index...

    Type Alias TypesSceneDescription

    type TypesSceneDescription = {
        baseFile?: TypesSceneBaseFile;
        camera?: TypesSceneCamera;
        environment?: TypesSceneEnvironment;
        materials?: TypesMaterialAssign[] | null;
        metersPerUnit?: number;
        models?: TypesSceneModels;
    }
    Index

    Properties

    Define a scene from a file. If value is null, an empty scene will be created.

    Define a new camera for the scene.

    environment?: TypesSceneEnvironment

    Define the environment for the scene. Override the previous existing environment.

    materials?: TypesMaterialAssign[] | null

    Assign new materials to geometric primitives.

    metersPerUnit?: number

    Length of a scene unit, in meters. Defaults to baseFile meters per unit if any, or 0.01 (centimeters) otherwise.

    Define additional models for the scene.