Interface AsukaAssemblySurfaceMaterial

interface AsukaAssemblySurfaceMaterial {
    color?: string;
    opacity?: number;
    textureRotation?: number;
    textureScale?: {
        x?: number;
        y?: number;
    };
    textureSize?: {
        height?: number;
        width?: number;
    };
    textureUrl?: string;
}

Properties

color?: string
opacity?: number
textureRotation?: number

Texture rotation in degrees.

textureScale?: {
    x?: number;
    y?: number;
}
textureSize?: {
    height?: number;
    width?: number;
}

Physical size covered by one texture tile, expressed in renderer world units. When present it takes precedence over textureScale.

textureUrl?: string