Lines Matching refs:NodeImpl

30 void NodeImpl::RegisterEnums(NapiApi::Object exports)  in RegisterEnums()
36 napi_create_uint32(enu.GetEnv(), NodeImpl::NodeType::x, &v); \ in RegisterEnums()
46 NodeImpl::NodeImpl(NodeType type) : SceneResourceImpl(SceneResourceImpl::NODE), type_(type) in NodeImpl() function in NodeImpl
50 NodeImpl::~NodeImpl() in ~NodeImpl()
55 void* NodeImpl::GetInstanceImpl(uint32_t id) in GetInstanceImpl()
57 if (id == NodeImpl::ID) { in GetInstanceImpl()
63 void NodeImpl::GetPropertyDescs(BASE_NS::vector<napi_property_descriptor>& props) in GetPropertyDescs()
72 props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetPath>("path")); in GetPropertyDescs()
73 …props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetPosition, &NodeImpl::SetPosition… in GetPropertyDescs()
74 …props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetRotation, &NodeImpl::SetRotation… in GetPropertyDescs()
75 …props.push_back(TROGetSetProperty<Object, NodeImpl, &NodeImpl::GetScale, &NodeImpl::SetScale>("sca… in GetPropertyDescs()
76 props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetParent>("parent")); in GetPropertyDescs()
77 …props.push_back(TROGetSetProperty<bool, NodeImpl, &NodeImpl::GetVisible, &NodeImpl::SetVisible>("v… in GetPropertyDescs()
78 …props.push_back(TROGetSetProperty<bool, NodeImpl, &NodeImpl::GetChildContainer, &NodeImpl::SetVisi… in GetPropertyDescs()
79 props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetNodeType>("nodeType")); in GetPropertyDescs()
80 … props.push_back(TROGetProperty<BASE_NS::string, NodeImpl, &NodeImpl::GetLayerMask>("layerMask")); in GetPropertyDescs()
83 props.push_back(MakeTROMethod<FunctionContext<>, NodeImpl, &NodeImpl::Dispose>("destroy")); in GetPropertyDescs()
85 …MakeTROMethod<FunctionContext<BASE_NS::string>, NodeImpl, &NodeImpl::GetNodeByPath>("getNodeByPath… in GetPropertyDescs()
88 …props.push_back(MakeTROMethod<FunctionContext<uint32_t>, NodeImpl, &NodeImpl::GetLayerMaskEnabled>… in GetPropertyDescs()
90 …MakeTROMethod<FunctionContext<uint32_t, bool>, NodeImpl, &NodeImpl::SetLayerMaskEnabled>("setEnabl… in GetPropertyDescs()
93 …props.push_back(MakeTROMethod<FunctionContext<Object>, NodeImpl, &NodeImpl::AppendChild>("append")… in GetPropertyDescs()
95 …MakeTROMethod<FunctionContext<Object, Object>, NodeImpl, &NodeImpl::InsertChildAfter>("insertAfter… in GetPropertyDescs()
96 …props.push_back(MakeTROMethod<FunctionContext<Object>, NodeImpl, &NodeImpl::RemoveChild>("remove")… in GetPropertyDescs()
97 props.push_back(MakeTROMethod<FunctionContext<uint32_t>, NodeImpl, &NodeImpl::GetChild>("get")); in GetPropertyDescs()
98 props.push_back(MakeTROMethod<FunctionContext<>, NodeImpl, &NodeImpl::ClearChildren>("clear")); in GetPropertyDescs()
99 props.push_back(MakeTROMethod<FunctionContext<>, NodeImpl, &NodeImpl::GetCount>("count")); in GetPropertyDescs()
101 napi_value NodeImpl::Dispose(NapiApi::FunctionContext<>& ctx) in Dispose()
113 napi_value NodeImpl::GetLayerMaskEnabled(NapiApi::FunctionContext<uint32_t>& ctx) in GetLayerMaskEnabled()
126 napi_value NodeImpl::SetLayerMaskEnabled(NapiApi::FunctionContext<uint32_t, bool>& ctx) in SetLayerMaskEnabled()
144 napi_value NodeImpl::GetNodeType(NapiApi::FunctionContext<>& ctx) in GetNodeType()
155 napi_value NodeImpl::GetLayerMask(NapiApi::FunctionContext<>& ctx) in GetLayerMask()
163 napi_value NodeImpl::GetPath(NapiApi::FunctionContext<>& ctx) in GetPath()
180 napi_value NodeImpl::GetVisible(NapiApi::FunctionContext<>& ctx) in GetVisible()
194 void NodeImpl::SetVisible(NapiApi::FunctionContext<bool>& ctx) in SetVisible()
206 napi_value NodeImpl::GetPosition(NapiApi::FunctionContext<>& ctx) in GetPosition()
218 void NodeImpl::SetPosition(NapiApi::FunctionContext<NapiApi::Object>& ctx) in SetPosition()
231 napi_value NodeImpl::GetScale(NapiApi::FunctionContext<>& ctx) in GetScale()
243 void NodeImpl::SetScale(NapiApi::FunctionContext<NapiApi::Object>& ctx) in SetScale()
256 napi_value NodeImpl::GetRotation(NapiApi::FunctionContext<>& ctx) in GetRotation()
268 void NodeImpl::SetRotation(NapiApi::FunctionContext<NapiApi::Object>& ctx) in SetRotation()
281 napi_value NodeImpl::GetParent(NapiApi::FunctionContext<>& ctx) in GetParent()
315 napi_value NodeImpl::GetChildContainer(NapiApi::FunctionContext<>& ctx) in GetChildContainer()
342 napi_value NodeImpl::GetChild(NapiApi::FunctionContext<uint32_t>& ctx) in GetChild()
388 napi_value NodeImpl::GetCount(NapiApi::FunctionContext<>& ctx) in GetCount()
409 napi_value NodeImpl::AppendChild(NapiApi::FunctionContext<NapiApi::Object>& ctx) in AppendChild()
442 napi_value NodeImpl::InsertChildAfter(NapiApi::FunctionContext<NapiApi::Object, NapiApi::Object>& c… in InsertChildAfter()
501 void NodeImpl::ResetNativeObj(NapiApi::FunctionContext<>& ctx, NapiApi::Object& obj) in ResetNativeObj()
512 napi_value NodeImpl::RemoveChild(NapiApi::FunctionContext<NapiApi::Object>& ctx) in RemoveChild()
547 napi_value NodeImpl::ClearChildren(NapiApi::FunctionContext<>& ctx) in ClearChildren()
595 napi_value NodeImpl::GetNodeByPath(NapiApi::FunctionContext<BASE_NS::string>& ctx) in GetNodeByPath()