Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Apr 11, 2013 at 05:22 PM by Jessy for the following reason:

There is no question here that could be answered in the format used by this site.

avatar image
0
Question by cobertos · Apr 11, 2013 at 05:05 PM · c#texturematerialsetpixels

Drawing a display panel with textures.

I've heard that SetPixels is very slow? I want to be able to draw shapes, words with a font, etc on a textures at a smooth enough time interval. An example of something I'd want to accomplish is a panel with a scolling bar to display the progress of an operation being done on a machine with a percentage value showing how much is done as well as some other things. I'd like it to be as smooth as possible.

I've done things like this: (alt text) This was in Garry's Mod and if you can see it, I got the roulette wheel circle thing to spin really smoothly with no lag at all as well as some other animations on the betting board itself. Why isn't unity this fast?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
2

Answer by dorpeleg · Apr 11, 2013 at 05:21 PM

Use a plane with a semi-transparent texture and rotate the plane.

You call also animate your texture with a simple script.

It all depends on what you are trying to accomplish.

If you can give some more detail that can help.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cobertos · Apr 11, 2013 at 09:21 PM 0
Share

Well, I was looking for something like a little slider bar (starts out as nothing and slowly grows with time) with a border and text on the bar to denote its percent completion. I just didn't know if SetPixels would solve my solution due to its performance problems?

avatar image dorpeleg · Apr 11, 2013 at 09:27 PM 0
Share

Someone closed this question... not sure why.

You can use a plane with a texture on it and re-size it using code.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it bad to have this many materials? 2 Answers

Material Not Reverting Back 2 Answers

Renderer Removed When Scene Started 0 Answers

Having a problem with the second material (on the same renderer) 0 Answers

Distribute terrain in zones 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges