Exemplo n.º 1
0
 public SceneEntityViewModel(MainWindow wnd, SceneEntity entity)
     : this(wnd, entity, true)
 {
 }
Exemplo n.º 2
0
 public KGEditorCommandSetEntityPosition(SceneEntity entity, float[] trans)
     : base(KGEditorCommandCode.ECC_SetEntityTranslation, "Set entity translation")
 {
     entity_ = entity;
     trans_  = trans;
 }
Exemplo n.º 3
0
 public KGEditorCommandSetEntityRotation(SceneEntity entity, float[] rot_quat)
     : base(KGEditorCommandCode.ECC_SetEntityRotation, "Set entity rotation")
 {
     entity_ = entity;
     rot_    = rot_quat;
 }
Exemplo n.º 4
0
 public KGEditorCommandSetEntityScale(SceneEntity entity, float[] scale)
     : base(KGEditorCommandCode.ECC_SetEntityScale, "Set entity scale")
 {
     entity_ = entity;
     scale_  = scale;
 }
Exemplo n.º 5
0
 public KGEditorCommandEntityVisible(SceneEntity entity, bool visible)
     : base(KGEditorCommandCode.ECC_SetEntityVisible, "Set entity visible")
 {
     entity_  = entity;
     visible_ = visible;
 }
Exemplo n.º 6
0
 public KGEditorCommandSetEntityName(SceneEntity entity, string name)
     : base(KGEditorCommandCode.ECC_SetEntityName, "Set entity name")
 {
     entity_ = entity;
     name_   = name;
 }