Gaffer - Yeti Procedural
polygonMerge
plain_text
a year ago
1.6 kB
7
Indexable
import Gaffer import GafferScene import IECore import imath Gaffer.Metadata.registerValue( parent, "serialiser:milestoneVersion", 1, persistent=False ) Gaffer.Metadata.registerValue( parent, "serialiser:majorVersion", 4, persistent=False ) Gaffer.Metadata.registerValue( parent, "serialiser:minorVersion", 4, persistent=False ) Gaffer.Metadata.registerValue( parent, "serialiser:patchVersion", 0, persistent=False ) __children = {} __children["Reference"] = Gaffer.Reference( "Reference" ) parent.addChild( __children["Reference"] ) __children["Reference"].load( "C:/Users/arisl/Downloads/Gaffer-Tools-master/resources/references/YetiProcedural.grf" ) __children["Reference"].addChild( Gaffer.V2fPlug( "__uiPosition", defaultValue = imath.V2f( 0, 0 ), flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) ) Gaffer.Metadata.registerValue( __children["Reference"], 'uiEditor:emptySections', IECore.StringVectorData( [ ] ) ) Gaffer.Metadata.registerValue( __children["Reference"], 'uiEditor:emptySectionIndices', IECore.IntVectorData( [ ] ) ) Gaffer.Metadata.registerValue( __children["Reference"], 'noduleLayout:customGadget:addButtonTop:visible', True ) __children["Reference"]["filename"].setValue( 'Y:/CWD2/episodes/Turnarounds/shots/Charlie_Prime_Biped_Body_TA/products/yeti_groom/Charlie_Prime_Biped_Body_01/v0003/fur/Charlie_Prime_Biped_YETIShape.####.fur' ) __children["Reference"]["densityMult"].setValue( 0.5 ) __children["Reference"]["__uiPosition"].setValue( imath.V2f( -86.6813202, 193.998535 ) ) del __children
Editor is loading...
Leave a Comment