ThreePipe
    Preparing search index...

    Class ThreeSerialization

    Index

    Constructors

    Properties

    Material: Serializer = ...
    Primitives: readonly [
        readonly [typeof Vector2, "isVector2", readonly ["x", "y"], 1],
        readonly [typeof Vector3, "isVector3", readonly ["x", "y", "z"], 1],
        readonly [typeof Vector4, "isVector4", readonly ["x", "y", "z", "w"], 1],
        readonly [
            typeof Quaternion,
            "isQuaternion",
            readonly ["x", "y", "z", "w"],
            1,
        ],
        readonly [typeof Euler, "isEuler", readonly ["x", "y", "z", "order"], 1],
        readonly [typeof Color, "isColor", readonly ["r", "g", "b"], 1],
        readonly [typeof Matrix2, "isMatrix2", readonly ["elements"], 1],
        readonly [typeof Matrix3, "isMatrix3", readonly ["elements"], 1],
        readonly [typeof Matrix4, "isMatrix4", readonly ["elements"], 1],
        readonly [
            typeof Spherical,
            "isSpherical",
            readonly ["radius", "phi", "theta"],
            1,
        ],
    ] = ...
    RenderTarget: Serializer = ...
    SerializableMaterials: Set<
        {
            InterpolateProperties?: string[];
            MapProperties?: string[];
            MaterialProperties?: Record<string, any>;
            TYPE: string;
            TypeAlias?: string[];
            TypeSlug: string;
            new (...args: any[]): IMaterial;
        },
    > = ...
    Texture: Serializer = ...

    Methods

    • Parameters

      • constructor: ObjectConstructor
      • type: string
      • Optionalprops: (string | [string, string])[]

      Returns void

    • Parameters

      • cls: any
      • isType: string
      • props: string[] | readonly string[]
      • priority: number = 1

      Returns Serializer