SRanipal Unreal SDK  1.3.2.0
SRanipal Unreal SDK document
SRanipal_Lip_Framework.h
1 // ========= Copyright 2018, HTC Corporation. All rights reserved. ===========
2 
3 #pragma once
4 #include "SRanipal_Enums.h"
5 #include "SRanipal_API.h"
6 #include "SRanipal_Lip_Enums.h"
7 
8 #include "CoreMinimal.h"
9 #include "EngineMinimal.h"
10 #include "GameFramework/Actor.h"
11 #include "SRanipal_Lip_Framework.generated.h"
12 
13 
14 UCLASS()
15 class SRANIPAL_API ASRanipal_Lip_Framework : public AActor
16 {
17  GENERATED_BODY()
18 
19 public:
20  // Sets default values for this actor's properties
22 
24  UPROPERTY(EditAnywhere)
25  bool EnableLip;
27  UPROPERTY(EditAnywhere)
28  SupportedLipVersion EnableLipVersion = SupportedLipVersion::version1;
29 
30 protected:
31  // Called when the game starts or when spawned
32  virtual void BeginPlay() override;
33  virtual void EndPlay(const EEndPlayReason::Type) override;
34 
36  void StartFramework();
38  void StopFramework();
39 
40 private:
41  int Status;
42  const FString AnipalTypeName = "Lip";
43  const FString AnipalTypeName_v2 = "Lip_v2";
44  enum FrameworkStatus {
45  STOP,
46  START,
47  WORKING,
48  ERROR,
49  };
50 };
Definition: SRanipal_Lip_Framework.h:15