October 2016
Intermediate to advanced
452 pages
9h 47m
English
Primitive components are the most complex type of Actor Component because they not only have a transform, but are also rendered on screen.
MeshComponent. When Visual Studio loads, add the following to your class header file:UCLASS(ClassGroup=Experimental, meta = (BlueprintSpawnableComponent)) public: virtual FPrimitiveSceneProxy* CreateSceneProxy() override; TArray<int32> Indices; TArray<FVector> Vertices; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Materials) UMaterial* TheMaterial;
CreateSceneProxy function in our cpp file:FPrimitiveSceneProxy* UMyMeshComponent::CreateSceneProxy() { FPrimitiveSceneProxy* ...Read now
Unlock full access