本文整理汇总了C++中CKObjectDeclaration::NeedManager方法的典型用法代码示例。如果您正苦于以下问题:C++ CKObjectDeclaration::NeedManager方法的具体用法?C++ CKObjectDeclaration::NeedManager怎么用?C++ CKObjectDeclaration::NeedManager使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKObjectDeclaration
的用法示例。
在下文中一共展示了CKObjectDeclaration::NeedManager方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorKeyboardCameraOrbitDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("Keyboard Camera Orbit");
od->SetDescription("Makes a Camera orbit round a 3D Entity using keyboard with limited angles.");
/* rem:
<SPAN CLASS=in>On: </SPAN>Starts the behavior.<BR>
<SPAN CLASS=in>Off: </SPAN>Stops the behavior.<BR>
<SPAN CLASS=out>Exit On: </SPAN>is activated when the behavior has been started.<BR>
<SPAN CLASS=out>Exit Off: </SPAN>is activated when the behavior has been stop. If in "return" mode, is activated only once the camera is back in place.<BR>
<BR>
<SPAN CLASS=pin>Target Position: </SPAN>Position we are turning around.<BR>
<SPAN CLASS=pin>Target Referential: </SPAN>Referential where the position is defined.<BR>
<SPAN CLASS=pin>Move Speed: </SPAN>Speed in angle per second used when the user moves the camera.<BR>
<SPAN CLASS=pin>Return Speed: </SPAN>Speed in angle per second used when the camera returns.<BR>
<SPAN CLASS=pin>Min Horizontal: </SPAN>Minimal angle allowed on the horizontal rotation. Must have a negative value.<BR>
<SPAN CLASS=pin>Max Horizontal:</SPAN>Maximal angle allowed on the horizontal rotation. Must have a positive value.<BR>
<SPAN CLASS=pin>Min Vertical: </SPAN>Minimal angle allowed on the vertical rotation. Must have a negative value.<BR>
<SPAN CLASS=pin>Max Vertical: </SPAN>Maximal angle allowed on the vertical rotation. Must have a positive value.<BR>
<SPAN CLASS=pin>Zoom Speed: </SPAN>Speed of the zoom in distance per second.<BR>
<SPAN CLASS=pin>Zoom Min: </SPAN>Minimum zoom value allowed. Must have a negative value.<BR>
<SPAN CLASS=pin>Zoom Max: </SPAN>Maximum zoom value allowed. Must have a positive value.<BR>
<BR>
The following keys are used by default to move the Camera around its target:<BR>
<BR>
<FONT COLOR=#FFFFFF>Page Up: </FONT>Zoom in.<BR>
<FONT COLOR=#FFFFFF>Page Down: </FONT>Zoom out.<BR>
<FONT COLOR=#FFFFFF>Up and Down Arrows: </FONT>Rotate vertically.<BR>
<FONT COLOR=#FFFFFF>Left and Right Arrows: </FONT>Rotate horizontally.<BR>
The arrow keys are the inverted T arrow keys and not the ones of the numeric keypad.<BR>
<BR>
<SPAN CLASS=setting>Returns: </SPAN>Does the camera systematically returns to its original position.<BR>
<SPAN CLASS=setting>Key Rotate Left: </SPAN>Key used to rotate left.<BR>
<SPAN CLASS=setting>Key Rotate Right: </SPAN>Key used to rotate right.<BR>
<SPAN CLASS=setting>Key Rotate Up: </SPAN>Key used to rotate up.<BR>
<SPAN CLASS=setting>Key Rotate Down: </SPAN>Key used to rotate down.<BR>
<SPAN CLASS=setting>Key Zoom in: </SPAN>Key used to zoom in.<BR>
<SPAN CLASS=setting>Key Zoom out: </SPAN>Key used to zoom in.<BR>
<BR>
*/
od->SetCategory("Cameras/Movement");
od->SetType(CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x7610f4d,0x69747b9d));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Virtools");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateKeyboardCameraOrbitProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(INPUT_MANAGER_GUID);
return od;
}
示例2: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPClothAddForceAtVertexDecl
// FullName: FillBehaviorPClothAddForceAtVertexDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPClothAddForceAtVertexDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothAddForceAtVertex");
od->SetCategory("Physic/Cloth");
od->SetDescription("Applies a force (or impulse) defined in the global coordinate frame, to a particular vertex of the cloth");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x506e7b29,0xd3a2720));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePClothAddForceAtVertexProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例3: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPClothDetachFromShapeDecl
// FullName: FillBehaviorPClothDetachFromShapeDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPClothDetachFromShapeDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothDetachFromShape");
od->SetCategory("Physic/Cloth");
od->SetDescription("Detaches the cloth from a shape it has been attached to before. ");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0xf4b0609,0x75b453a3));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePClothDetachFromShapeProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例4: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorJDestroyDecl
// FullName: FillBehaviorJDestroyDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorJDestroyDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PJDestroy");
od->SetCategory("Physic/Joints");
od->SetDescription("Destroys a joint given by two bodies and the joint type.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x42cd6243,0x5f7b18af));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateJDestroyProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例5: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorJD6SetParametersDecl
// FullName: FillBehaviorJD6SetParametersDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorJD6SetParametersDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PJD6SetParameters");
od->SetCategory("Physic/D6");
od->SetDescription("Sets parameters in a D6 joint.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x4b8207b2,0x57964805));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateJD6SetParametersProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例6: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPBSetTriggerMaskDecl
// FullName: FillBehaviorPBSetTriggerMaskDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPBSetTriggerMaskDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PCSetTriggerMask");
od->SetCategory("Physic/Collision");
od->SetDescription("Modifies trigger mask");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x27ae51d4,0x45bf2c6c));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePBSetTriggerMaskProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例7: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPBSetHardDecl
// FullName: FillBehaviorPBSetHardDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPBSetHardDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PBSetHard");
od->SetCategory("Physic/Body");
od->SetDescription("Sets momentum,velocities and transformations.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x528d58e0,0x2fca203a));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePBSetHardProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例8: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorPCIgnorePairDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PCIgnorePair");
od->SetCategory("Physic/Collision");
od->SetDescription("Enables/Disables collision between two bodies.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x63f648f7,0x13c7097f));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePCIgnorePairProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例9: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorPVGetDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PVGet");
od->SetCategory("Physic/Vehicle");
od->SetDescription("Retrieves vehicle related parameters.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x70b293c,0x1ef4fa7));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePVGetProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例10: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPClothAttachVertexToPositionDecl
// FullName: FillBehaviorPClothAttachVertexToPositionDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPClothAttachVertexToPositionDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothAttachVertexToPosition");
od->SetCategory("Physic/Cloth");
od->SetDescription("Attaches a cloth vertex to a position in world space");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x6f502320,0x48065a45));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePClothAttachVertexToPositionProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例11: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPBPhysicalizeDecl
// FullName: FillBehaviorPBPhysicalizeDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPBPhysicalizeDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PBPhysicalize");
od->SetCategory("Physic/Body");
od->SetDescription("Adds an entity to the physic engine.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x186f7d29,0xe8901dc));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePBPhysicalizeProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例12: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorRegisterAttributeTypeDecl
// FullName: FillBehaviorRegisterAttributeTypeDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorRegisterAttributeTypeDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("RegisterAttribute");
od->SetCategory("Physic/Manager");
od->SetDescription("Registers a new attribute type.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x63e567c4,0x65583276));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateRegisterAttributeTypeProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例13: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPManagerDecl
// FullName: FillBehaviorPManagerDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPManagerDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PManager");
od->SetCategory("Physic/Manager");
od->SetDescription("Calls various functions in the manager.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x57295d90,0x11da3970));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePManagerProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例14: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPClothDestroyDecl
// FullName: FillBehaviorPClothDestroyDecl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPClothDestroyDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothDestroy");
od->SetCategory("Physic/Cloth");
od->SetDescription("Destroys a physical cloth.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x8d604ec,0x2e926408));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePClothDestroyProto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}
示例15: CreateCKObjectDeclaration
//************************************
// Method: FillBehaviorPBGet2Decl
// FullName: FillBehaviorPBGet2Decl
// Access: public
// Returns: CKObjectDeclaration *
// Qualifier:
//************************************
CKObjectDeclaration *FillBehaviorPBGet2Decl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PBGetEx-Obsolete");
od->SetCategory("Physic/Body");
od->SetDescription("Retrieves physic related parameters.");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x234334d3,0x70d06f74));
od->SetAuthorGuid(VTCX_AUTHOR_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePBGet2Proto);
od->SetCompatibleClassId(CKCID_3DENTITY);
od->NeedManager(GUID_MODULE_MANAGER);
return od;
}