Function createNewObject

  • Parameters

    • __namedParameters: {
          Prefab: typeof BaseObject;
          initialProps: any;
          name?: string;
          threeObj?: {
              position: Vector3;
              rotation: Vector3;
              scale: Vector3;
          };
      }
      • Prefab: typeof BaseObject
      • initialProps: any
      • Optional name?: string
      • Optional threeObj?: {
            position: Vector3;
            rotation: Vector3;
            scale: Vector3;
        }
        • position: Vector3
        • rotation: Vector3
        • scale: Vector3
    • pebbleScene: PebbleScene

    Returns Promise<BaseObject<any>>

Generated using TypeDoc