当前位置: 首页>>代码示例>>C++>>正文


C++ HK_OFFSET_OF函数代码示例

本文整理汇总了C++中HK_OFFSET_OF函数的典型用法代码示例。如果您正苦于以下问题:C++ HK_OFFSET_OF函数的具体用法?C++ HK_OFFSET_OF怎么用?C++ HK_OFFSET_OF使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了HK_OFFSET_OF函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: hkbCombineTransformsModifierInternalStateClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbCombineTransformsModifierInternalStateClass_Members[] =
{
   { "translationOut",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCombineTransformsModifierInternalState,m_translationOut) /*16*/,HK_NULL},
   { "rotationOut",HK_NULL,HK_NULL,hkClassMember::TYPE_QUATERNION,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCombineTransformsModifierInternalState,m_rotationOut) /*32*/,HK_NULL},
};

// Signature:  a92ed39f
extern const hkClass hkReferencedObjectClass;
extern const hkClass hkbCombineTransformsModifierInternalStateClass;
const hkClass hkbCombineTransformsModifierInternalStateClass(
    "hkbCombineTransformsModifierInternalState",
    &hkReferencedObjectClass, // parent
    sizeof(hkbCombineTransformsModifierInternalState),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbCombineTransformsModifierInternalStateClass_Members), HK_COUNT_OF(hkbCombineTransformsModifierInternalStateClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbCombineTransformsModifierInternalState_0.cpp

示例2:

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbFootIkModifierLegClass_Members[] =
{
   { "originalAnkleTransformMS",HK_NULL,HK_NULL,hkClassMember::TYPE_QSTRANSFORM,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_originalAnkleTransformMS) /*0*/,HK_NULL},
   { "prevAnkleRotLS",HK_NULL,HK_NULL,hkClassMember::TYPE_QUATERNION,hkClassMember::TYPE_VOID,0,hkClassMember::SERIALIZE_IGNORED,HK_OFFSET_OF(hkbFootIkModifierLeg,m_prevAnkleRotLS) /*48*/,HK_NULL},
   { "kneeAxisLS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_kneeAxisLS) /*64*/,HK_NULL},
   { "footEndLS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_footEndLS) /*80*/,HK_NULL},
   { "ungroundedEvent",&hkbEventPropertyClass,HK_NULL,hkClassMember::TYPE_STRUCT,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_ungroundedEvent) /*96*/,HK_NULL},
   { "footPlantedAnkleHeightMS",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_footPlantedAnkleHeightMS) /*104*/,HK_NULL},
   { "footRaisedAnkleHeightMS",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_footRaisedAnkleHeightMS) /*108*/,HK_NULL},
   { "maxAnkleHeightMS",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_maxAnkleHeightMS) /*112*/,HK_NULL},
   { "minAnkleHeightMS",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_minAnkleHeightMS) /*116*/,HK_NULL},
   { "maxKneeAngleDegrees",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_maxKneeAngleDegrees) /*120*/,HK_NULL},
   { "minKneeAngleDegrees",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_minKneeAngleDegrees) /*124*/,HK_NULL},
   { "verticalError",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_verticalError) /*128*/,HK_NULL},
   { "maxAnkleAngleDegrees",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_maxAnkleAngleDegrees) /*132*/,HK_NULL},
   { "hipIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT16,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_hipIndex) /*136*/,HK_NULL},
   { "kneeIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT16,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_kneeIndex) /*138*/,HK_NULL},
   { "ankleIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT16,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierLeg,m_ankleIndex) /*140*/,HK_NULL},
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbFootIkModifierLeg_2.cpp

示例3:

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbLookAtModifierClass_Members[] =
{
   { "targetWS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_targetWS) /*48*/,HK_NULL},
   { "headForwardLS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_headForwardLS) /*64*/,HK_NULL},
   { "neckForwardLS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_neckForwardLS) /*80*/,HK_NULL},
   { "neckRightLS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_neckRightLS) /*96*/,HK_NULL},
   { "eyePositionHS",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_eyePositionHS) /*112*/,HK_NULL},
   { "newTargetGain",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_newTargetGain) /*128*/,HK_NULL},
   { "onGain",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_onGain) /*132*/,HK_NULL},
   { "offGain",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_offGain) /*136*/,HK_NULL},
   { "limitAngleDegrees",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_limitAngleDegrees) /*140*/,HK_NULL},
   { "limitAngleLeft",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_limitAngleLeft) /*144*/,HK_NULL},
   { "limitAngleRight",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_limitAngleRight) /*148*/,HK_NULL},
   { "limitAngleUp",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_limitAngleUp) /*152*/,HK_NULL},
   { "limitAngleDown",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_limitAngleDown) /*156*/,HK_NULL},
   { "headIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT16,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_headIndex) /*160*/,HK_NULL},
   { "neckIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT16,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_neckIndex) /*162*/,HK_NULL},
   { "isOn",HK_NULL,HK_NULL,hkClassMember::TYPE_BOOL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbLookAtModifier,m_isOn) /*164*/,HK_NULL},
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbLookAtModifier_3.cpp

示例4: hkbTestStateChooserClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbTestStateChooserClass_Members[] =
{
   { "int",HK_NULL,HK_NULL,hkClassMember::TYPE_INT32,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbTestStateChooser,m_int) /*8*/,HK_NULL},
   { "real",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbTestStateChooser,m_real) /*12*/,HK_NULL},
   { "string",HK_NULL,HK_NULL,hkClassMember::TYPE_STRINGPTR,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbTestStateChooser,m_string) /*16*/,HK_NULL},
};

// Signature:  c0fcc436
extern const hkClass hkbStateChooserClass;
extern const hkClass hkbTestStateChooserClass;
const hkClass hkbTestStateChooserClass(
    "hkbTestStateChooser",
    &hkbStateChooserClass, // parent
    sizeof(hkbTestStateChooser),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbTestStateChooserClass_Members), HK_COUNT_OF(hkbTestStateChooserClass_Members),
    HK_NULL, // defaults
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbTestStateChooser_0.cpp

示例5: hkbCharacterDataCharacterControllerInfoClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbCharacterDataCharacterControllerInfoClass_Members[] =
{
   { "capsuleHeight",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCharacterDataCharacterControllerInfo,m_capsuleHeight) /*0*/,HK_NULL},
   { "capsuleRadius",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCharacterDataCharacterControllerInfo,m_capsuleRadius) /*4*/,HK_NULL},
   { "collisionFilterInfo",HK_NULL,HK_NULL,hkClassMember::TYPE_UINT32,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCharacterDataCharacterControllerInfo,m_collisionFilterInfo) /*8*/,HK_NULL},
   { "characterControllerCinfo",&hkpCharacterControllerCinfoClass,HK_NULL,hkClassMember::TYPE_POINTER,hkClassMember::TYPE_STRUCT,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbCharacterDataCharacterControllerInfo,m_characterControllerCinfo) /*12*/,HK_NULL},
};

// Signature:  a0f415bf
extern const hkClass hkbCharacterDataCharacterControllerInfoClass;
const hkClass hkbCharacterDataCharacterControllerInfoClass(
    "hkbCharacterDataCharacterControllerInfo",
    HK_NULL, // parent
    sizeof(hkbCharacterDataCharacterControllerInfo),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbCharacterDataCharacterControllerInfoClass_Members), HK_COUNT_OF(hkbCharacterDataCharacterControllerInfoClass_Members),
    HK_NULL, // defaults
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbCharacterDataCharacterControllerInfo_0.cpp

示例6: _countof

   {4, "FLAG_NOT_VARIABLE"},
   {8, "FLAG_HIDDEN"},
   {16, "FLAG_OUTPUT"},
   {32, "FLAG_NOT_CHARACTER_PROPERTY"},
};

static const hkInternalClassEnum hkbRoleAttributeClass_Enums[] = {
   {"Role", RoleEnumItems, _countof(RoleEnumItems), HK_NULL, 0 },
   {"RoleFlags", RoleFlagsEnumItems, _countof(RoleFlagsEnumItems), HK_NULL, 0 },
};
const hkClassEnum* RoleEnum = reinterpret_cast<const hkClassEnum*>(&hkbRoleAttributeClass_Enums[0]);
const hkClassEnum* RoleFlagsEnum = reinterpret_cast<const hkClassEnum*>(&hkbRoleAttributeClass_Enums[1]);

static const hkInternalClassMember hkbRoleAttributeClass_Members[] =
{
   { "role",HK_NULL,RoleEnum,hkClassMember::TYPE_ENUM,hkClassMember::TYPE_INT16,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbRoleAttribute,m_role) /*0*/,HK_NULL},
   { "flags",HK_NULL,RoleFlagsEnum,hkClassMember::TYPE_FLAGS,hkClassMember::TYPE_INT16,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbRoleAttribute,m_flags) /*2*/,HK_NULL},
};

// Signature:  3eb2e082
extern const hkClass hkbRoleAttributeClass;
const hkClass hkbRoleAttributeClass(
    "hkbRoleAttribute",
    HK_NULL, // parent
    sizeof(hkbRoleAttribute),
    HK_NULL, 0, // interfaces
    reinterpret_cast<const hkClassEnum*>(hkbRoleAttributeClass_Enums), HK_COUNT_OF(hkbRoleAttributeClass_Enums),
    reinterpret_cast<const hkClassMember*>(hkbRoleAttributeClass_Members), HK_COUNT_OF(hkbRoleAttributeClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
    0, // flags
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbRoleAttribute_0.cpp

示例7: hkbPoweredRagdollControlsModifierClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbPoweredRagdollControlsModifierClass_Members[] =
{
   { "controlData",&hkbPoweredRagdollControlDataClass,HK_NULL,hkClassMember::TYPE_STRUCT,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlsModifier,m_controlData) /*48*/,HK_NULL},
   { "bones",&hkbBoneIndexArrayClass,HK_NULL,hkClassMember::TYPE_POINTER,hkClassMember::TYPE_STRUCT,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlsModifier,m_bones) /*80*/,HK_NULL},
   { "worldFromModelModeData",&hkbWorldFromModelModeDataClass,HK_NULL,hkClassMember::TYPE_STRUCT,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlsModifier,m_worldFromModelModeData) /*84*/,HK_NULL},
   { "boneWeights",&hkbBoneWeightArrayClass,HK_NULL,hkClassMember::TYPE_POINTER,hkClassMember::TYPE_STRUCT,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlsModifier,m_boneWeights) /*92*/,HK_NULL},
};

// Signature:  7cb54065
extern const hkClass hkbModifierClass;
extern const hkClass hkbPoweredRagdollControlsModifierClass;
const hkClass hkbPoweredRagdollControlsModifierClass(
    "hkbPoweredRagdollControlsModifier",
    &hkbModifierClass, // parent
    sizeof(hkbPoweredRagdollControlsModifier),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbPoweredRagdollControlsModifierClass_Members), HK_COUNT_OF(hkbPoweredRagdollControlsModifierClass_Members),
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbPoweredRagdollControlsModifier_5.cpp

示例8: hkbAttributeModifierAssignmentClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbAttributeModifierAssignmentClass_Members[] =
{
   { "attributeIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT32,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbAttributeModifierAssignment,m_attributeIndex) /*0*/,HK_NULL},
   { "attributeValue",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbAttributeModifierAssignment,m_attributeValue) /*4*/,HK_NULL},
};

// Signature:  48b8ad52
extern const hkClass hkbAttributeModifierAssignmentClass;
const hkClass hkbAttributeModifierAssignmentClass(
    "hkbAttributeModifierAssignment",
    HK_NULL, // parent
    sizeof(hkbAttributeModifierAssignment),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbAttributeModifierAssignmentClass_Members), HK_COUNT_OF(hkbAttributeModifierAssignmentClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
    0, // flags
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbAttributeModifierAssignment_0.cpp

示例9: hkbNamedStringEventPayloadClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbNamedStringEventPayloadClass_Members[] =
{
   { "data",HK_NULL,HK_NULL,hkClassMember::TYPE_STRINGPTR,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbNamedStringEventPayload,m_data) /*12*/,HK_NULL},
};

// Signature:  6caa9113
extern const hkClass hkbNamedEventPayloadClass;
extern const hkClass hkbNamedStringEventPayloadClass;
const hkClass hkbNamedStringEventPayloadClass(
    "hkbNamedStringEventPayload",
    &hkbNamedEventPayloadClass, // parent
    sizeof(hkbNamedStringEventPayload),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbNamedStringEventPayloadClass_Members), HK_COUNT_OF(hkbNamedStringEventPayloadClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
    0, // flags
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbNamedStringEventPayload_0.cpp

示例10: hkbSequenceInternalStateClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbSequenceInternalStateClass_Members[] =
{
   { "nextSampleEvents",HK_NULL,HK_NULL,hkClassMember::TYPE_ARRAY,hkClassMember::TYPE_INT32,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_nextSampleEvents) /*8*/,HK_NULL},
   { "nextSampleReals",HK_NULL,HK_NULL,hkClassMember::TYPE_ARRAY,hkClassMember::TYPE_INT32,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_nextSampleReals) /*20*/,HK_NULL},
   { "nextSampleBools",HK_NULL,HK_NULL,hkClassMember::TYPE_ARRAY,hkClassMember::TYPE_INT32,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_nextSampleBools) /*32*/,HK_NULL},
   { "nextSampleInts",HK_NULL,HK_NULL,hkClassMember::TYPE_ARRAY,hkClassMember::TYPE_INT32,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_nextSampleInts) /*44*/,HK_NULL},
   { "time",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_time) /*56*/,HK_NULL},
   { "isEnabled",HK_NULL,HK_NULL,hkClassMember::TYPE_BOOL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbSequenceInternalState,m_isEnabled) /*60*/,HK_NULL},
};

// Signature:  419b9a05
extern const hkClass hkReferencedObjectClass;
extern const hkClass hkbSequenceInternalStateClass;
const hkClass hkbSequenceInternalStateClass(
    "hkbSequenceInternalState",
    &hkReferencedObjectClass, // parent
    sizeof(hkbSequenceInternalState),
    HK_NULL, 0, // interfaces
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbSequenceInternalState_0.cpp

示例11: HK_OFFSET_OF

#define False false


// External pointer and enum types
extern const hkClass VTerrainSectorClass;
extern const hkClass hkBitFieldClass;
extern const hkClass hkvMeshMaterialClass;

//
// Class hkvConvexVerticesShape
//
extern const hkClass hkpConvexVerticesShapeClass;

const hkInternalClassMember hkvConvexVerticesShape::Members[] =
{
	{ "iFileTime", HK_NULL, HK_NULL, hkClassMember::TYPE_INT64, hkClassMember::TYPE_VOID, 0, 0, HK_OFFSET_OF(hkvConvexVerticesShape,m_iFileTime), HK_NULL }
};
extern const hkClass hkvConvexVerticesShapeClass;
const hkClass hkvConvexVerticesShapeClass(
	"hkvConvexVerticesShape",
	&hkpConvexVerticesShapeClass, // parent
	sizeof(::hkvConvexVerticesShape),
	HK_NULL,
	0, // interfaces
	HK_NULL,
	0, // enums
	reinterpret_cast<const hkClassMember*>(hkvConvexVerticesShape::Members),
	HK_COUNT_OF(hkvConvexVerticesShape::Members),
	HK_NULL, // defaults
	HK_NULL, // attributes
	0, // flags
开发者ID:cDoru,项目名称:projectanarchy,代码行数:31,代码来源:vHavokVisionShapesReflection.cpp

示例12: hkbMessageLogClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbMessageLogClass_Members[] =
{
   { "messages",HK_NULL,HK_NULL,hkClassMember::TYPE_POINTER,hkClassMember::TYPE_VOID,0,hkClassMember::SERIALIZE_IGNORED,HK_OFFSET_OF(hkbMessageLog,m_messages) /*0*/,HK_NULL},
   { "maxMessages",HK_NULL,HK_NULL,hkClassMember::TYPE_INT32,hkClassMember::TYPE_VOID,0,hkClassMember::SERIALIZE_IGNORED,HK_OFFSET_OF(hkbMessageLog,m_maxMessages) /*4*/,HK_NULL},
};

// Signature:  26a196c5
extern const hkClass hkbMessageLogClass;
const hkClass hkbMessageLogClass(
    "hkbMessageLog",
    HK_NULL, // parent
    sizeof(hkbMessageLog),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbMessageLogClass_Members), HK_COUNT_OF(hkbMessageLogClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
    0, // flags
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbMessageLog_0.cpp

示例13: hkbIntVariableSequencedDataClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbIntVariableSequencedDataClass_Members[] =
{
   { "samples",&hkbIntVariableSequencedDataSampleClass,HK_NULL,hkClassMember::TYPE_ARRAY,hkClassMember::TYPE_STRUCT,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbIntVariableSequencedData,m_samples) /*8*/,HK_NULL},
   { "variableIndex",HK_NULL,HK_NULL,hkClassMember::TYPE_INT32,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbIntVariableSequencedData,m_variableIndex) /*20*/,HK_NULL},
};

// Signature:  7bfc518a
extern const hkClass hkbSequencedDataClass;
extern const hkClass hkbIntVariableSequencedDataClass;
const hkClass hkbIntVariableSequencedDataClass(
    "hkbIntVariableSequencedData",
    &hkbSequencedDataClass, // parent
    sizeof(hkbIntVariableSequencedData),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbIntVariableSequencedDataClass_Members), HK_COUNT_OF(hkbIntVariableSequencedDataClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbIntVariableSequencedData_0.cpp

示例14: hkbPoweredRagdollControlDataClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbPoweredRagdollControlDataClass_Members[] =
{
   { "maxForce",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::ALIGN_16,HK_OFFSET_OF(hkbPoweredRagdollControlData,m_maxForce) /*0*/,HK_NULL},
   { "tau",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlData,m_tau) /*4*/,HK_NULL},
   { "damping",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlData,m_damping) /*8*/,HK_NULL},
   { "proportionalRecoveryVelocity",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlData,m_proportionalRecoveryVelocity) /*12*/,HK_NULL},
   { "constantRecoveryVelocity",HK_NULL,HK_NULL,hkClassMember::TYPE_REAL,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbPoweredRagdollControlData,m_constantRecoveryVelocity) /*16*/,HK_NULL},
};

// Signature:  0f5ba21b
extern const hkClass hkbPoweredRagdollControlDataClass;
const hkClass hkbPoweredRagdollControlDataClass(
    "hkbPoweredRagdollControlData",
    HK_NULL, // parent
    sizeof(hkbPoweredRagdollControlData),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbPoweredRagdollControlDataClass_Members), HK_COUNT_OF(hkbPoweredRagdollControlDataClass_Members),
开发者ID:nexustheru,项目名称:nifskope-hybrid,代码行数:31,代码来源:hkbPoweredRagdollControlData_3.cpp

示例15: hkbFootIkModifierInternalLegDataClass

#include <Common/Serialize/Util/hkSerializeUtil.h>
#include <Common/Serialize/Version/hkVersionPatchManager.h>
#include <Common/Serialize/Data/Dict/hkDataObjectDict.h>
#include <Common/Serialize/Data/Native/hkDataObjectNative.h>
#include <Common/Serialize/Data/Util/hkDataObjectUtil.h>
#include <Common/Base/Reflection/Registry/hkDynamicClassNameRegistry.h>
#include <Common/Base/Reflection/Registry/hkVtableClassRegistry.h>
#include <Common/Base/Reflection/hkClass.h>
#include <Common/Base/Reflection/hkInternalClassMember.h>
#include <Common/Serialize/Util/hkSerializationCheckingUtils.h>
#include <Common/Serialize/Util/hkVersionCheckingUtils.h>


static const hkInternalClassMember hkbFootIkModifierInternalLegDataClass_Members[] =
{
   { "groundPosition",HK_NULL,HK_NULL,hkClassMember::TYPE_VECTOR4,hkClassMember::TYPE_VOID,0,hkClassMember::FLAGS_NONE,HK_OFFSET_OF(hkbFootIkModifierInternalLegData,m_groundPosition) /*0*/,HK_NULL},
   { "footIkSolver",HK_NULL,HK_NULL,hkClassMember::TYPE_POINTER,hkClassMember::TYPE_VOID,0,hkClassMember::SERIALIZE_IGNORED,HK_OFFSET_OF(hkbFootIkModifierInternalLegData,m_footIkSolver) /*16*/,HK_NULL},
};

// Signature:  e5ca3677
extern const hkClass hkbFootIkModifierInternalLegDataClass;
const hkClass hkbFootIkModifierInternalLegDataClass(
    "hkbFootIkModifierInternalLegData",
    HK_NULL, // parent
    sizeof(hkbFootIkModifierInternalLegData),
    HK_NULL, 0, // interfaces
    HK_NULL, 0, // enums
    reinterpret_cast<const hkClassMember*>(hkbFootIkModifierInternalLegDataClass_Members), HK_COUNT_OF(hkbFootIkModifierInternalLegDataClass_Members),
    HK_NULL, // defaults
    HK_NULL, // attributes
    0, // flags
开发者ID:KageKirin,项目名称:hkxcmd,代码行数:31,代码来源:hkbFootIkModifierInternalLegData_1.cpp


注:本文中的HK_OFFSET_OF函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。