---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by HUAFEI2.
--- DateTime: 2020/6/11 14:43
---

local LBaseStaticMeshActor = ImportScript("ugc_common/script/core/actor/static_mesh_actor.lua").LBaseStaticMeshActor;
local LActor = ImportScript("ugc_common/script/pc/actor/actor_impl.lua").LActor;

---@class LMeshActor
LStaticMeshActor = LStaticMeshActor or class("LMeshActor", LBaseStaticMeshActor, LActor);

function LStaticMeshActor:ctor(kActor)
    self.m_kStaticMeshActor = tolua.cast(kActor, "Core::AStaticMeshActor")
    LOG_I("LStaticMeshActor:ctor", self, kActor, self.m_name, self.m_kStaticMeshActor)
end

function LStaticMeshActor:dtor()
    print("LStaticMeshActor:dtor()");
end

---@param szMeshPath string
---@return boolean
function LStaticMeshActor:SetMeshRes(szMeshPath)
    return self.m_kStaticMeshActor:SetMeshRes(szMeshPath);
end

---@return string
function LStaticMeshActor:GetMeshRes()
    return self.m_kStaticMeshActor:GetMeshRes();
end

---@param szJsonRes string
---@return boolean
function LStaticMeshActor:SetupBuilding(szJsonRes)
    return self.m_kStaticMeshActor:SetupBuilding(szJsonRes);
end

---@param szMeshPath string
---@param t FTransform
---@return boolean
function LStaticMeshActor:BindMeshRes(szMeshPath, t)
    return self.m_kStaticMeshActor:BindMeshRes(szMeshPath, t);
end

---@param szJsonRes string
---@return boolean
-- function LStaticMeshActor:SetCollisionGeometry(szJsonRes)
--     return self.m_kStaticMeshActor:SetCollisionGeometry(szJsonRes);
-- end

---@param bDrawOutline boolean
---@return boolean
function LStaticMeshActor:SetOutlineState(bDrawOutline)
    return self.m_kStaticMeshActor:SetOutlineState(bDrawOutline);
end

---@param szMeshPath string
---@param t FTransform
---@return boolean
function LStaticMeshActor:CollisionDetectionWithMesh(szMeshPath, t)
    return self.m_kStaticMeshActor:CollisionDetectionWithMesh(szMeshPath, t);
end

---@param kMeshActor AActor
---@param t FTransform
---@return boolean
function LStaticMeshActor:CollisionDetectionWithMesh(kMeshActor, t)
    return self.m_kStaticMeshActor:CollisionDetectionWithMesh(kMeshActor, t);
end