Home
last modified time | relevance | path

Searched refs:SubMeshJS (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DSubMeshJS.cpp25 void* SubMeshJS::GetInstanceImpl(uint32_t id) in GetInstanceImpl()
27 if (id == SubMeshJS::ID) { in GetInstanceImpl()
33 void SubMeshJS::DisposeNative() in DisposeNative()
41 void SubMeshJS::Init(napi_env env, napi_value exports) in Init()
46 …node_props.push_back(GetSetProperty<BASE_NS::string, SubMeshJS, &SubMeshJS::GetName, &SubMeshJS::S… in Init()
47 node_props.push_back(GetProperty<Object, SubMeshJS, &SubMeshJS::GetAABB>("aabb")); in Init()
49 … GetSetProperty<Object, SubMeshJS, &SubMeshJS::GetMaterial, &SubMeshJS::SetMaterial>("material")); in Init()
60 SubMeshJS::SubMeshJS(napi_env e, napi_callback_info i) : BaseObject<SubMeshJS>(e, i) in SubMeshJS() function in SubMeshJS
74 SubMeshJS::~SubMeshJS() in ~SubMeshJS()
79 napi_value SubMeshJS::GetAABB(NapiApi::FunctionContext<>& ctx) in GetAABB()
[all …]
H A Dregister_module.cpp119 SubMeshJS::Init(env, scene3dNS); in RegisterClasses()
/ohos5.0/foundation/graphic/graphic_3d/kits/js/include/
H A DSubMeshJS.h23 class SubMeshJS : public BaseObject<SubMeshJS> {
27 SubMeshJS(napi_env, napi_callback_info);
28 ~SubMeshJS() override;
/ohos5.0/foundation/graphic/graphic_3d/kits/js/
H A DBUILD.gn121 "src/SubMeshJS.cpp",