Results 1 to 3 of 3
  1. #1
    MSgt. Shooter Person
    Join Date
    Mar 2012
    Posts
    81

    Default Overriding DefaultParent's property of a components possible?

    The parent's class defines a skeletal mesh component

    Code:
    defaultproperties
    {
    	Begin Object Class=SkeletalMeshComponent Name=MySkeletalMeshComponent
                    ....
    
    		Scale=1.0
                    ....
    	End Object
    	Mesh=MySkeletalMeshComponent
    	Components.Add(MySkeletalMeshComponent)
    	
    }
    Then a want to change the Scale property on a child class, how can i access that component property and reassign? Will it be possible or I need to re-define another skeletalmeshcomponent again...

  2. #2

    Default

    Code:
    defaultproperties
    {
    	Begin Object Name=MySkeletalMeshComponent
    		Scale=1.0
    	End Object
    }

  3. #3
    MSgt. Shooter Person
    Join Date
    Mar 2012
    Posts
    81

    Default

    That's great, thanks!


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.