Karma Engine
Loading...
Searching...
No Matches
PrimitiveComponent.h
1#pragma once
2
3#include "krpch.h"
4
5#include "SceneComponent.h"
6
7namespace Karma
8{
14 class KARMA_API UPrimitiveComponent : public USceneComponent
15 {
16 DECLARE_KARMA_CLASS(UPrimitiveComponent, USceneComponent)
17
18 public:
20 uint8_t CastShadow : 1;
21
23 virtual void BeginPlay() override;
24
25 private:
31 mutable float LastRenderTime;
32
34 mutable float LastRenderTimeOnScreen;
35
36 //friend class FPrimitiveSceneInfo;
37
38 public:
42 void SetCachedMaxDrawDistance(const float newCachedMaxDrawDistance);
43 };
44}
Definition PrimitiveComponent.h:15
uint8_t CastShadow
Definition PrimitiveComponent.h:20
Definition SceneComponent.h:34