public void SetShow(E_MODEL_PART modelpart, bool show) { switch (modelpart) { case E_MODEL_PART.EMP_HEAD: isShowHelm = show; break; case E_MODEL_PART.EMP_CAPE: isShowCape = show; break; case E_MODEL_PART.EMP_SHOULDER: isShowShoulder = show; break; case E_MODEL_PART.EMP_LEFTHAND: isShowLeftHand = show; break; case E_MODEL_PART.EMP_RIGHTHAND: isShowRightHand = show; break; } }
public bool IsShow(E_MODEL_PART modelpart) { switch (modelpart) { case E_MODEL_PART.EMP_HEAD: return(isShowHelm); case E_MODEL_PART.EMP_CAPE: return(isShowCape); case E_MODEL_PART.EMP_SHOULDER: return(isShowShoulder); case E_MODEL_PART.EMP_LEFTHAND: return(isShowLeftHand); case E_MODEL_PART.EMP_RIGHTHAND: return(isShowRightHand); } return(false); }
public void ShowModelPart(E_MODEL_PART modelpart, bool show) { M2SceneNode_showModelPart(pointer, modelpart, show); }
public static extern void M2SceneNode_showModelPart( IntPtr node, E_MODEL_PART modepart, [MarshalAsAttribute(UnmanagedType.I1)] bool show);