Jump to content

[Solved] Error here SetMultisampleMode Camera.


Yue
 Share

Recommended Posts

Solved. 

 

for n=0,world:CountEntities()-1 do
			local entity=world:GetEntity(n)
			local entity=world:GetEntity(n)
			if entity:GetClass()==Object.CameraClass then
			    local camera = tolua.cast(entity,"Camera")
			    camera:SetMultisampleMode(a)
				
			end
end

 

  • Haha 1

 

 

Link to comment
Share on other sites

  • Yue changed the title to [Solved] Error here SetMultisampleMode Camera.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...