RuntimeMeshActor.h
Go to the documentation of this file.
1 // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved.
2 
3 #pragma once
4 
5 #include "CoreMinimal.h"
6 #include "GameFramework/Actor.h"
7 #include "RuntimeMeshActor.generated.h"
8 
9 UCLASS(HideCategories = (Input), ShowCategories = ("Input|MouseInput", "Input|TouchInput"), ComponentWrapperClass, Meta = (ChildCanTick))
10 class RUNTIMEMESHCOMPONENT_API ARuntimeMeshActor : public AActor
11 {
12  GENERATED_UCLASS_BODY()
13 
14 private:
15  UPROPERTY(Category = "RuntimeMeshActor", VisibleAnywhere, BlueprintReadOnly, Meta = (ExposeFunctionCategories = "Mesh,Rendering,Physics,Components|RuntimeMesh", AllowPrivateAccess = "true"))
16  class URuntimeMeshComponent* RuntimeMeshComponent;
17 
18 public:
19  UPROPERTY(Category = "RuntimeMeshActor", EditAnywhere, Meta = (AllowPrivateAccess = "true"))
20  bool bRunGenerateMeshesOnConstruction;
21 
22  UPROPERTY(Category = "RuntimeMeshActor", EditAnywhere, Meta = (AllowPrivateAccess = "true"))
23  bool bRunGenerateMeshesOnBeginPlay;
24 
25  UFUNCTION(BlueprintCallable, Category = "RuntimeMeshActor", Meta = (AllowPrivateAccess = "true", DisplayName = "Get Mobility"))
26  ERuntimeMeshMobility GetRuntimeMeshMobility();
27 
28  UFUNCTION(BlueprintCallable, Category = "RuntimeMeshActor", Meta = (AllowPrivateAccess = "true", DisplayName = "Set Mobility"))
29  void SetRuntimeMeshMobility(ERuntimeMeshMobility NewMobility);
30 
31 public:
32 
34  void SetMobility(EComponentMobility::Type InMobility);
35 
36  EComponentMobility::Type GetMobility();
37 
39  class URuntimeMeshComponent* GetRuntimeMeshComponent() const { return RuntimeMeshComponent; }
40 
41 
42  virtual void OnConstruction(const FTransform& Transform) override;
43 
44  virtual void BeginPlay() override;
45 
46  UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "RuntimeMeshActor")
47  void GenerateMeshes();
48 
49 };
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
ERuntimeMeshMobility
UTexture2D * Get(TUniquePtr< T > &Dtex)
::geometry_msgs::Transform_< std::allocator< void > > Transform
Definition: Transform.h:54


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:41