AuthorImportSettings
Since 0.6
How a model is brought in: asset.import's settings.
Signature
export interface AuthorImportSettings {
/** Multiplies the file's units into metres. */
unitScale?: number;
/** The file's up axis. */
upAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X";
/** The file's forward axis. */
forwardAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X";
/** Scale the model so its largest side is this many metres. */
targetSizeM?: number;
/** Move the origin to the centre of the model's base. */
baseCenter?: boolean;
}
Import: import type { AuthorImportSettings } from "@argus/api"
Members
| Member | Signature | Description |
|---|---|---|
unitScale | unitScale?: number | Multiplies the file's units into metres. |
upAxis | upAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X" | The file's up axis. |
forwardAxis | forwardAxis?: "Y" | "Z" | "-Y" | "-Z" | "X" | "-X" | The file's forward axis. |
targetSizeM | targetSizeM?: number | Scale the model so its largest side is this many metres. |
baseCenter | baseCenter?: boolean | Move the origin to the centre of the model's base. |