本文整理汇总了C++中BL_ArmatureObject::LoadChannels方法的典型用法代码示例。如果您正苦于以下问题:C++ BL_ArmatureObject::LoadChannels方法的具体用法?C++ BL_ArmatureObject::LoadChannels怎么用?C++ BL_ArmatureObject::LoadChannels使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BL_ArmatureObject
的用法示例。
在下文中一共展示了BL_ArmatureObject::LoadChannels方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CListWrapper
PyObject *BL_ArmatureObject::pyattr_get_channels(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
{
BL_ArmatureObject *self = static_cast<BL_ArmatureObject *>(self_v);
self->LoadChannels(); // make sure we have the channels
return (new CListWrapper(self_v,
self->GetProxy(),
NULL,
bl_armature_object_get_channels_size_cb,
bl_armature_object_get_channels_item_cb,
bl_armature_object_get_channels_item_name_cb,
NULL))->NewProxy(true);
}
示例2: KX_PythonSeq_CreatePyObject
PyObject *BL_ArmatureObject::pyattr_get_channels(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef)
{
BL_ArmatureObject* self = static_cast<BL_ArmatureObject*>(self_v);
self->LoadChannels(); // make sure we have the channels
return KX_PythonSeq_CreatePyObject((static_cast<BL_ArmatureObject*>(self_v))->m_proxy, KX_PYGENSEQ_OB_TYPE_CHANNELS);
}