Download

Access to component properties of inherited class?

Hi!

I have my custom camera inherited from ACameraActor.

In Details Customization I want to get property of UCameraComponent like that:


void FMyCameraDetails::CustomizeDetails(IDetailLayoutBuilder& DetailBuilder)
{
	FieldOfViewProperty = DetailBuilder.GetProperty(GET_MEMBER_NAME_CHECKED(UCameraComponent, FieldOfView));
}

I’m getting no errors, but GetProperty returns me nothing.

Can you advise me please the right way to get property of component please?

Thank you in advance!