Karma Engine
Loading...
Searching...
No Matches
Karma
src
Karma
GameFramework
PrimitiveComponent.h
1
#pragma once
2
3
#include "krpch.h"
4
5
#include "SceneComponent.h"
6
7
namespace
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
}
Karma::UPrimitiveComponent
Definition
PrimitiveComponent.h:15
Karma::UPrimitiveComponent::CastShadow
uint8_t CastShadow
Definition
PrimitiveComponent.h:20
Karma::USceneComponent
Definition
SceneComponent.h:34
Generated by
1.12.0