public override void RemoveMaterialFloatProperty(object data, Material material, string propertyName, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).RemoveMaterialFloatProperty(objectData.Slot, objectData.ObjectType, material, propertyName, go); }
public override void SetMaterialTextureScale(object data, Material material, string propertyName, Vector2 value, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).SetMaterialTextureScale(objectData.Slot, objectData.ObjectType, material, propertyName, value, go); }
public override float?GetMaterialFloatPropertyValueOriginal(object data, Material material, string propertyName, GameObject go) { ObjectData objectData = (ObjectData)data; return(MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).GetMaterialFloatPropertyValueOriginal(objectData.Slot, objectData.ObjectType, material, propertyName, go)); }
public override void RemoveMaterialShaderRenderQueue(object data, Material material, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).RemoveMaterialShaderRenderQueue(objectData.Slot, objectData.ObjectType, material, go); }
public override void SetMaterialTexture(object data, Material material, string propertyName, string filePath, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).SetMaterialTextureFromFile(objectData.Slot, objectData.ObjectType, material, propertyName, filePath, go, true); }
public override int?GetMaterialShaderRenderQueueOriginal(object data, Material material, GameObject go) { ObjectData objectData = (ObjectData)data; return(MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).GetMaterialShaderRenderQueueOriginal(objectData.Slot, objectData.ObjectType, material, go)); }
public override void SetMaterialShaderName(object data, Material material, string value, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).SetMaterialShader(objectData.Slot, objectData.ObjectType, material, value, go); }
public override void MaterialPasteEdits(object data, Material material, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).MaterialPasteEdits(objectData.Slot, objectData.ObjectType, material, go); }
public override void RemoveRendererProperty(object data, Renderer renderer, RendererProperties property, GameObject go) { ObjectData objectData = (ObjectData)data; MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).RemoveRendererProperty(objectData.Slot, objectData.ObjectType, renderer, property, go); }
public override string GetRendererPropertyValueOriginal(object data, Renderer renderer, RendererProperties property, GameObject go) { ObjectData objectData = (ObjectData)data; return(MaterialEditorPlugin.GetCharaController(MakerAPI.GetCharacterControl()).GetRendererPropertyValueOriginal(objectData.Slot, objectData.ObjectType, renderer, property, go)); }