You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
888 B
C++
28 lines
888 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
class FLightComponentDetails : public IDetailCustomization
|
|
{
|
|
public:
|
|
/** Makes a new instance of this detail layout class for a specific detail view requesting it */
|
|
static TSharedRef<IDetailCustomization> MakeInstance();
|
|
|
|
/** IDetailCustomization interface */
|
|
virtual void CustomizeDetails( IDetailLayoutBuilder& DetailBuilder ) OVERRIDE;
|
|
|
|
private:
|
|
|
|
/** Helper functions which tell whether the various custom controls are enabled or not */
|
|
bool IsLightBrightnessEnabled() const;
|
|
bool IsUseIESBrightnessEnabled() const;
|
|
bool IsIESBrightnessScaleEnabled() const;
|
|
|
|
|
|
private:
|
|
TSharedPtr<IPropertyHandle> IESBrightnessTextureProperty;
|
|
TSharedPtr<IPropertyHandle> IESBrightnessEnabledProperty;
|
|
TSharedPtr<IPropertyHandle> IESBrightnessScaleProperty;
|
|
TSharedPtr<IPropertyHandle> LightIntensityProperty;
|
|
};
|