-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/AgoraIO-Extensions/Agora-Un…
- Loading branch information
Showing
195 changed files
with
7,938 additions
and
6,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ | |
"AdditionalDependencies": [ | ||
"Engine", | ||
"AgoraPlugin", | ||
"CoreUObject" | ||
"CoreUObject", | ||
"UMG" | ||
] | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+56.9 KB
(110%)
Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/Advance/ScreenShare/ScreenShare.umap
Binary file not shown.
Binary file modified
BIN
+57.5 KB
(110%)
...mple/Content/API-Example/Advance/ScreenShareWhileVideoCall/ScreenShareWhileVideoCall.umap
Binary file not shown.
Binary file modified
BIN
+280 Bytes
(100%)
Agora-Unreal-SDK-Blueprint-Example/Content/API-Example/BP_MainWidget.uasset
Binary file not shown.
Binary file modified
BIN
+820 Bytes
(100%)
...al-SDK-Blueprint-Example/Content/API-Example/Basic/JoinChannelAudio/BP_AudioWidget.uasset
Binary file not shown.
Binary file modified
BIN
+79.2 KB
(110%)
...SDK-Blueprint-Example/Content/API-Example/Basic/JoinChannelAudio/BasicAudioCallScene.umap
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
## Resolving Trusted Execution Problems | ||
### 1. 'XXXX.framework' can't be opened because Apple cannot check it for malicious software. | ||
### 2. 'AppXXX is damaged and can’t be opened. You should move it to the Trash' | ||
|
||
PathToYourProject="/DragYourProjectFolderHere" | ||
|
||
for file in $(ls "${PathToYourProject}/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/Mac/Release"); | ||
do | ||
sudo xattr -r -d com.apple.quarantine "${PathToYourProject}/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/Mac/Release/${file}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
Agora-Unreal-SDK-Blueprint-Example/Source/AgoraBPExample/CustomTileView.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
|
||
#include "CustomTileView.h" | ||
|
||
|
||
#pragma region CustomTileView | ||
|
||
|
||
UCustomTileView::UCustomTileView(const FObjectInitializer& Initializer) :Super(Initializer) | ||
{ | ||
BarThickness = FVector2D(50, 50); | ||
} | ||
|
||
TSharedRef<STableViewBase> UCustomTileView::RebuildListWidget() | ||
{ | ||
auto TileViewRef = ConstructTileView<STileView>(); | ||
auto CustomTileViewRef = StaticCastSharedRef<SCustomListView<UObject*>>(TileViewRef); | ||
|
||
CustomTileViewRef->UpdateScrollBarThickness(BarThickness); | ||
return CustomTileViewRef; | ||
} | ||
|
||
|
||
#pragma endregion |
56 changes: 56 additions & 0 deletions
56
Agora-Unreal-SDK-Blueprint-Example/Source/AgoraBPExample/CustomTileView.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "Components/TileView.h" | ||
#include "CustomTileView.generated.h" | ||
|
||
|
||
#pragma region CustomTileView | ||
// To change the scroll bar thickness of the tile view. | ||
|
||
UCLASS() | ||
class AGORABPEXAMPLE_API UCustomTileView : public UTileView | ||
{ | ||
GENERATED_BODY() | ||
|
||
UCustomTileView(const FObjectInitializer& Initializer); | ||
|
||
protected: | ||
virtual TSharedRef<STableViewBase> RebuildListWidget() override; | ||
|
||
public: | ||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Style", meta = (DisplayName = "Scroll Bar Thickness")) | ||
FVector2D BarThickness; | ||
}; | ||
|
||
|
||
template <typename ItemType> | ||
class AGORABPEXAMPLE_API SCustomListView : public STileView<ItemType> | ||
{ | ||
public: | ||
|
||
// It doesn't work | ||
//void SetScrollBarThickness(const FVector2D& Vec2) | ||
//{ | ||
// if (ScrollBar.IsValid()) | ||
// { | ||
// ScrollBar->SetThickness(Vec2); | ||
// } | ||
//} | ||
|
||
void UpdateScrollBarThickness(const FVector2D& Vec2) | ||
{ | ||
if (STableViewBase::ScrollBar.IsValid()) | ||
{ | ||
TSharedPtr<SWidget> SBarParentWidgetPtr = STableViewBase::ScrollBar->GetParentWidget(); | ||
auto ScrollBarBox = StaticCastSharedPtr<SBox>(SBarParentWidgetPtr); | ||
|
||
ScrollBarBox->SetWidthOverride(FOptionalSize(Vec2.X)); | ||
STableViewBase::ScrollBar->SetThickness(Vec2); | ||
} | ||
} | ||
}; | ||
|
||
#pragma endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+12.1 KB
(110%)
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance/MusicPlayer/WB_MusicPlayer.uasset
Binary file not shown.
Binary file modified
BIN
+6.37 KB
(110%)
...-CPP-Example/Content/API-Example/Advance/ProcessAudioRawData/BP_ProcessAudioWidget.uasset
Binary file not shown.
Binary file removed
BIN
-24.4 KB
...-SDK-CPP-Example/Content/API-Example/Advance/RenderWithYUV/DataInputTexture.png
Binary file not shown.
Binary file removed
BIN
-5.16 KB
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance/RenderWithYUV/M_RenderYUV.uasset
Binary file not shown.
Binary file removed
BIN
-3.67 KB
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance/RenderWithYUV/RT_YUVOutput.uasset
Binary file not shown.
Binary file removed
BIN
-23 KB
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance/RenderWithYUV/RenderWithYUV.umap
Binary file not shown.
Binary file removed
BIN
-69.8 KB
...-Unreal-SDK-CPP-Example/Content/API-Example/Advance/RenderWithYUV/WB_RenderWithYUV.uasset
Binary file not shown.
Binary file modified
BIN
+6.85 KB
(110%)
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Advance/ScreenShare/BP_ScreenShare.uasset
Binary file not shown.
Binary file modified
BIN
+6.84 KB
(110%)
...t/API-Example/Advance/ScreenShareWhileVideoCall/BP_ScreenShareWhileVideoCallWidget.uasset
Binary file not shown.
Binary file modified
BIN
+1.65 KB
(100%)
Agora-Unreal-SDK-CPP-Example/Content/API-Example/BP_MainWidget.uasset
Binary file not shown.
Binary file modified
BIN
+12.5 KB
(110%)
...a-Unreal-SDK-CPP-Example/Content/API-Example/Basic/JoinChannelAudio/BP_AudioWidget.uasset
Binary file not shown.
Binary file modified
BIN
+1.08 KB
(100%)
...a-Unreal-SDK-CPP-Example/Content/API-Example/Basic/JoinChannelVideo/BP_VideoWidget.uasset
Binary file not shown.
Binary file added
BIN
+6.99 KB
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Material/M_CBSFont.uasset
Binary file not shown.
Binary file modified
BIN
+255 Bytes
(100%)
Agora-Unreal-SDK-CPP-Example/Content/API-Example/Utility/WBP_DraggableLogView.uasset
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
## Resolving Trusted Execution Problems | ||
### 1. 'XXXX.framework' can't be opened because Apple cannot check it for malicious software. | ||
### 2. 'AppXXX is damaged and can’t be opened. You should move it to the Trash' | ||
|
||
PathToYourProject="/DragYourProjectFolderHere" | ||
|
||
for file in $(ls "${PathToYourProject}/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/Mac/Release"); | ||
do | ||
sudo xattr -r -d com.apple.quarantine "${PathToYourProject}/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/Mac/Release/${file}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.