Updated doc and refactor

This commit is contained in:
Manish 2019-07-09 23:46:28 +02:00 committed by Néstor Subirón
parent c3b9647c87
commit f0d7055068
5 changed files with 26 additions and 13 deletions

View File

@ -1,4 +1,4 @@
<h1>Standalone Asset Packages creation for distribution</h1>
<h1>Creating standalone asset packages for distribution</h1>
*Please note that we will use the term *assets* for referring to **props** and also **maps**.*

View File

@ -25,7 +25,7 @@
* [Running in a Docker](carla_docker.md)
* [How to make a new map with RoadRunner](how_to_make_a_new_map.md)
* [How to link Epic's Automotive Materials](epic_automotive_materials.md)
* [Standalone Asset Packages creation for distribution](asset_packages_for_dist.md)
* [Creating standalone asset packages for distribution](asset_packages_for_dist.md)
* [How to add friction triggers](how_to_add_friction_triggers.md)
* [How to control vehicle physics](how_to_control_vehicle_physics.md)
* [How to record and replay](recorder_and_playback.md)

View File

@ -1,4 +1,8 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "PrepareAssetsForCookingCommandlet.h"
#include "GameFramework/WorldSettings.h"

View File

@ -1,19 +1,24 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include "Commandlets/Commandlet.h"
#include <Engine/World.h>
#include <UObject/Package.h>
#include <Misc/PackageName.h>
#include "CoreMinimal.h"
#include <Runtime/Engine/Classes/Engine/ObjectLibrary.h>
#include "Carla/OpenDrive/OpenDriveActor.h"
#include "Commandlets/Commandlet.h"
#include "Containers/Map.h"
#include "CoreMinimal.h"
#include <Engine/World.h>
#include <Misc/PackageName.h>
#include <Runtime/Engine/Classes/Engine/ObjectLibrary.h>
#include <UObject/Package.h>
#if WITH_EDITORONLY_DATA
#include <Developer/AssetTools/Public/IAssetTools.h>
#include <Developer/AssetTools/Public/AssetToolsModule.h>
#include <AssetRegistry/Public/AssetRegistryModule.h>
#include <Developer/AssetTools/Public/AssetToolsModule.h>
#include <Developer/AssetTools/Public/IAssetTools.h>
#endif // WITH_EDITORONLY_DATA
#include <Runtime/Engine/Classes/Engine/StaticMeshActor.h>
#include "PrepareAssetsForCookingCommandlet.generated.h"
@ -127,15 +132,19 @@ private:
UWorld *World;
/// Workaround material for MarkingNodes mesh
UPROPERTY()
UMaterial *MarkingNodeMaterial;
/// Workaround material for the RoadNode mesh
UPROPERTY()
UMaterial *RoadNodeMaterial;
/// Workaround material for the second material for the MarkingNodes
UPROPERTY()
UMaterial *MarkingNodeMaterialAux;
/// Workaround material for the TerrainNodes
UPROPERTY()
UMaterial *TerrainNodeMaterial;
/// Saves @a Package in .umap format in path @a PackagePath inside Unreal

View File

@ -21,7 +21,7 @@ nav:
- 'Running in a Docker': 'carla_docker.md'
- "How to make a new map with RoadRunner": 'how_to_make_a_new_map.md'
- "How to link Epic's Automotive Materials": 'epic_automotive_materials.md'
- "Standalone Asset Packages creation for distribution": 'asset_packages_for_dist.md'
- "Creating standalone asset packages for distribution": 'asset_packages_for_dist.md'
- "How to record and replay": 'recorder_and_playback.md'
- "Recorder binary file format": 'recorder_binary_file_format.md'
- "How to add friction triggers": "how_to_add_friction_triggers.md"