Download

How to disable change location of inherited components ?

Hi.

When i create a new blueprint actor class with few componnets and place it on the world with editor, I can’t change any property of inherited componnets.
It can be changed only in blueprint class
Look at the screenshot:

q1.jpg

it’s ok , this is what I need.

I try create blueprintable c++ class with simple constructor:

.h



UPROPERTY()
  UStaticMeshComponent* Block;
UPROPERTY()
  USceneComponent* BaseScene;


.cpp (in constructor)



this->BaseScene = CreateDefaultSubobject<USceneComponent>(TEXT("RootScene"));
this->RootComponent = this->BaseScene;

this->Block = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("SimpleBlock"));
this->Block->AttachParent = this->RootComponent;


then i create blueprint class with base class of my new c++ class
and when place it on the world with editor i can change any properties of inherited components (like BaseScene and Block)

Look at the pic:

102d5f3f785c28d31c9abb7fccc8b60caf455944.jpeg

My question is: How can i disable change any properties of inherited(c++) components ?
Sorry for my bad english.