Пример #1
0
 public MtlEditorCommandSetTexture(MtlEditorCoreWrapper core, uint mtl_id, KlayGE.MtlEditorCoreWrapper.TextureSlot slot, string name)
     : base(core, MtlEditorCommandCode.ECC_SetTexture, "Set texture")
 {
     mtl_id_ = mtl_id;
     slot_   = slot;
     name_   = name;
 }
Пример #2
0
 public MtlEditorCommandSetHeightOffset(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetHeightOffset, "Set height offset")
 {
     mtl_id_ = mtl_id;
     offset_ = value;
 }
Пример #3
0
 public MtlEditorCommandSetEmissiveMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetEmissiveMaterial, "Set emissive")
 {
     mtl_id_   = mtl_id;
     emissive_ = value;
 }
Пример #4
0
 public MtlEditorCommandSetOpacityTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetOpacityTexture, "Set opacity texture")
 {
     mtl_id_ = mtl_id;
     name_   = name;
 }
Пример #5
0
 public MtlEditorCommandSetAlbedoMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetAlbedoMaterial, "Set albedo")
 {
     mtl_id_ = mtl_id;
     albedo_ = value;
 }
Пример #6
0
 public MtlEditorCommandSetAlphaTest(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetAlphaTest, "Set alpha test")
 {
     mtl_id_     = mtl_id;
     alpha_test_ = value;
 }
Пример #7
0
 public MtlEditorCommandSetSkyboxName(MtlEditorCoreWrapper core, string name)
     : base(core, MtlEditorCommandCode.ECC_SetSkyboxName, "Set skybox name")
 {
     name_ = name;
 }
Пример #8
0
 public MtlEditorCommand(MtlEditorCoreWrapper core, MtlEditorCommandCode code, string cmd_name)
 {
     core_ = core;
     code_ = code;
     cmd_name_ = cmd_name;
 }
Пример #9
0
 public MtlEditorCommandSetInsideTessHint(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetInsideTessHint, "Set inside tessellation hint")
 {
     mtl_id_ = mtl_id;
     edge_ = value;
 }
Пример #10
0
 public MtlEditorCommandSetHeightOffset(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetHeightOffset, "Set height offset")
 {
     mtl_id_ = mtl_id;
     offset_ = value;
 }
Пример #11
0
 public MtlEditorCommandSetHeightScale(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetHeightScale, "Set height scale")
 {
     mtl_id_ = mtl_id;
     scale_ = value;
 }
Пример #12
0
 public MtlEditorCommandSetEmitMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetEmitMaterial, "Set emit")
 {
     mtl_id_ = mtl_id;
     emit_ = value;
 }
Пример #13
0
 public MtlEditorCommandSetDiffuseTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetDiffuseTexture, "Set diffuse texture")
 {
     mtl_id_ = mtl_id;
     name_ = name;
 }
Пример #14
0
 public MtlEditorCommandSetDiffuseMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetDiffuseMaterial, "Set diffuse")
 {
     mtl_id_ = mtl_id;
     diffuse_ = value;
 }
Пример #15
0
 public MtlEditorCommand(MtlEditorCoreWrapper core, MtlEditorCommandCode code, string cmd_name)
 {
     core_     = core;
     code_     = code;
     cmd_name_ = cmd_name;
 }
Пример #16
0
 public MtlEditorCommandSetMinTess(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetMinTess, "Set min tessellation")
 {
     mtl_id_ = mtl_id;
     min_ = value;
 }
Пример #17
0
 public MtlEditorCommandSetMaxTess(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetMaxTess, "Set max tessellation")
 {
     mtl_id_ = mtl_id;
     max_    = value;
 }
Пример #18
0
 public MtlEditorCommandSetOpacityMaterial(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetOpacityMaterial, "Set opacity")
 {
     mtl_id_ = mtl_id;
     opacity_ = value;
 }
Пример #19
0
 public MtlEditorCommandAssignMaterial(MtlEditorCoreWrapper core, uint mesh_id, uint mtl_id)
     : base(core, MtlEditorCommandCode.ECC_AssignMaterial, "Assign material")
 {
     mesh_id_ = mesh_id;
     mtl_id_  = mtl_id;
 }
Пример #20
0
 public MtlEditorCommandSetOpacityTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetOpacityTexture, "Set opacity texture")
 {
     mtl_id_ = mtl_id;
     name_ = name;
 }
Пример #21
0
 public MtlEditorCommandSetDetailMode(MtlEditorCoreWrapper core, uint mtl_id, uint value)
     : base(core, MtlEditorCommandCode.ECC_SetDetailMode, "Set detail mode")
 {
     mtl_id_ = mtl_id;
     mode_ = value;
 }
Пример #22
0
 public MtlEditorCommandSetShininessMaterial(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetShininessMaterial, "Set shininess")
 {
     mtl_id_ = mtl_id;
     shininess_ = value;
 }
Пример #23
0
 public MtlEditorCommandSelectMesh(MtlEditorCoreWrapper core, uint mesh_id)
     : base(core, MtlEditorCommandCode.ECC_SelectMesh, "Select mesh")
 {
     mesh_id_ = mesh_id;
 }
Пример #24
0
 public MtlEditorCommandSetSpecularMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetSpecularMaterial, "Set specular")
 {
     mtl_id_ = mtl_id;
     specular_ = value;
 }
Пример #25
0
 public MtlEditorCommandSetGlossinessMaterial(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetGlossinessMaterial, "Set glossiness")
 {
     mtl_id_     = mtl_id;
     glossiness_ = value;
 }
Пример #26
0
 public MtlEditorCommandSetSpecularTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetSpecularTexture, "Set specular texture")
 {
     mtl_id_ = mtl_id;
     name_ = name;
 }
Пример #27
0
 public MtlEditorCommandSetOpacityMaterial(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetOpacityMaterial, "Set opacity")
 {
     mtl_id_  = mtl_id;
     opacity_ = value;
 }
Пример #28
0
 public MtlEditorCommandSelectMesh(MtlEditorCoreWrapper core, uint mesh_id)
     : base(core, MtlEditorCommandCode.ECC_SelectMesh, "Select mesh")
 {
     mesh_id_ = mesh_id;
 }
Пример #29
0
 public MtlEditorCommandSetDetailMode(MtlEditorCoreWrapper core, uint mtl_id, uint value)
     : base(core, MtlEditorCommandCode.ECC_SetDetailMode, "Set detail mode")
 {
     mtl_id_ = mtl_id;
     mode_   = value;
 }
Пример #30
0
 public MtlEditorCommandSetTwoSided(MtlEditorCoreWrapper core, uint mtl_id, bool value)
     : base(core, MtlEditorCommandCode.ECC_SetTwoSided, "Set two sided")
 {
     mtl_id_    = mtl_id;
     two_sided_ = value;
 }
Пример #31
0
 public MtlEditorCommandSetHeightScale(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetHeightScale, "Set height scale")
 {
     mtl_id_ = mtl_id;
     scale_  = value;
 }
Пример #32
0
 public MtlEditorCommandSetAmbientMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetAmbientMaterial, "Set ambient")
 {
     mtl_id_  = mtl_id;
     ambient_ = value;
 }
Пример #33
0
 public MtlEditorCommandSetInsideTessHint(MtlEditorCoreWrapper core, uint mtl_id, float value)
     : base(core, MtlEditorCommandCode.ECC_SetInsideTessHint, "Set inside tessellation hint")
 {
     mtl_id_ = mtl_id;
     edge_   = value;
 }
Пример #34
0
 public MtlEditorCommandSetDiffuseMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetDiffuseMaterial, "Set diffuse")
 {
     mtl_id_  = mtl_id;
     diffuse_ = value;
 }
Пример #35
0
 public MtlEditorCommandSetTransparent(MtlEditorCoreWrapper core, uint mtl_id, bool value)
     : base(core, MtlEditorCommandCode.ECC_SetTransparent, "Set transparent")
 {
     mtl_id_      = mtl_id;
     transparent_ = value;
 }
Пример #36
0
 public MtlEditorCommandSetSpecularMaterial(MtlEditorCoreWrapper core, uint mtl_id, float[] value)
     : base(core, MtlEditorCommandCode.ECC_SetSpecularMaterial, "Set specular")
 {
     mtl_id_   = mtl_id;
     specular_ = value;
 }
Пример #37
0
 public MtlEditorCommandSetSSS(MtlEditorCoreWrapper core, uint mtl_id, bool value)
     : base(core, MtlEditorCommandCode.ECC_SetSSS, "Set SSS")
 {
     mtl_id_ = mtl_id;
     sss_    = value;
 }
Пример #38
0
 public MtlEditorCommandSetDiffuseTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetDiffuseTexture, "Set diffuse texture")
 {
     mtl_id_ = mtl_id;
     name_   = name;
 }
Пример #39
0
 public MtlEditorCommandCopyMaterial(MtlEditorCoreWrapper core, uint mtl_id)
     : base(core, MtlEditorCommandCode.ECC_CopyMaterial, "Copy material")
 {
     mtl_id_ = mtl_id;
 }
Пример #40
0
 public MtlEditorCommandSetShininessTexture(MtlEditorCoreWrapper core, uint mtl_id, string name)
     : base(core, MtlEditorCommandCode.ECC_SetShininessTexture, "Set shininess texture")
 {
     mtl_id_ = mtl_id;
     name_   = name;
 }
Пример #41
0
 public MtlEditorCommandSetCurrFrame(MtlEditorCoreWrapper core, float frame)
     : base(core, MtlEditorCommandCode.ECC_SetCurrFrame, "Set current frame")
 {
     frame_ = frame;
 }
Пример #42
0
 public MtlEditorCommandSetCurrFrame(MtlEditorCoreWrapper core, float frame)
     : base(core, MtlEditorCommandCode.ECC_SetCurrFrame, "Set current frame")
 {
     frame_ = frame;
 }