Cubemap 立方体贴图
Inherits from Texture
Class for handling cube maps, Use this to create or modify existing cube map assets.
用于处理立方体贴图的类,使用这个创建或修改现有的立方体贴图资源。
Variables变量
Constructors构造器
Functions函数
-
Sets pixel color at coordinates (face, x, y).
设置所在坐标(face, x, y)处的像素颜色。
-
Returns pixel color at coordinates (face, x, y).
返回所在坐标(face, x, y)处的样式颜色。
-
Returns pixel colors of a cubemap face.
设置一个Cubemap面的像素颜色。
-
Sets pixel colors of a cubemap face.
设置一个Cubemap面的像素颜色。
-
Actually apply all previous SetPixel and SetPixels changes.
实际应用所有先前SetPixel和SetPixels的改变。
Inherited members继承成员
Inherited Variables继承变量
-
Width of the texture in pixels (Read Only)
以像素为单位的贴图宽度 (只读)
-
Height of the texture in pixels (Read Only)
以像素为单位的贴图的高度(只读)
-
Filtering mode of the texture.
贴图的过滤模式
-
Anisotropic filtering level of the texture.
贴图的各向异性等级。(增加等级意味着更好的贴图效果,但是会需要更大的开销,减小则减少开销,代价是较远处或侧面的贴图会变得模糊。)
-
Wrap mode (Repeat or Clamp) of the texture.
循环模式 (重复或强制拉伸?)
-
Mip map bias of the texture.
Mip贴图偏移
-
The name of the object. //物体的名字
-
Should the object be hidden, saved with the scene or modifiable by the user?
物体是否被隐藏、保存在场景中或被用户修改?
Inherited Functions继承函数
Inherited Class Functions继承类函数
-
Removes a gameobject, component or asset.
删除一个游戏物体、组件或资源
-
Destroys the object obj immediately. It is strongly recommended to use Destroy instead.
立即销毁物体obj,强烈建议使用Destroy代替。
-
Makes the object target not be destroyed automatically when loading a new scene.
加载新场景的时候使目标物体不被自动销毁。
-
Returns the first active loaded object of Type type.
返回Type类型第一个激活的加载的物体。
-
Returns a list of all active loaded objects of Type type.
返回Type类型的所有激活的加载的物体列表
-
Clones the object original and returns the clone.
克隆原始物体,并返回克隆的物体
Page last updated: 2011-3-18