Example #1
0
 public MappingNode(string name)
     : base(ShaderNodeType.Mapping, name)
 {
     inputs = new MappingInputs(this);
     outputs = new MappingOutputs(this);
     Mapping = MappingType.Texture;
     UseMin = false;
     UseMax = false;
     Translation = new float4(0.0f);
     Rotation = new float4(0.0f);
     Scale = new float4(0.0f);
     Min = new float4(0.0f);
     Max = new float4(0.0f);
 }
Example #2
0
 public MappingNode(string name) :
     base(ShaderNodeType.Mapping, name)
 {
     inputs      = new MappingInputs(this);
     outputs     = new MappingOutputs(this);
     Mapping     = MappingType.Texture;
     UseMin      = false;
     UseMax      = false;
     Translation = new float4(0.0f);
     Rotation    = new float4(0.0f);
     Scale       = new float4(0.0f);
     Min         = new float4(0.0f);
     Max         = new float4(0.0f);
 }