Skip to main content

Cocos2D.CCLayerColor


Class CCLayerColor

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

CCLayerColor is a subclass of CCLayer that implements the CCRGBAProtocol protocol All features from CCLayer are valid, plus the following new features:

  • opacity
  • RGB colors
public class CCLayerColor : CCLayerRGBA, ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, IComparer<CCNode>, ICCAccelerometerDelegate, ICCRGBAProtocol, ICCBlendProtocol

Inheritance

objectCCNodeCCLayerCCLayerRGBACCLayerColor

Derived

CCLayerGradient

Implements

ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, IComparer<CCNode>, ICCAccelerometerDelegate, ICCRGBAProtocol, ICCBlendProtocol

Inherited Members

CCLayerRGBA._displayedOpacity, CCLayerRGBA._realOpacity, CCLayerRGBA._displayedColor, CCLayerRGBA._realColor, CCLayerRGBA._cascadeColorEnabled, CCLayerRGBA._cascadeOpacityEnabled, CCLayerRGBA.Init(), CCLayerRGBA.UpdateDisplayedColor(CCColor3B), CCLayerRGBA.UpdateDisplayedOpacity(byte), CCLayerRGBA.Color, CCLayerRGBA.DisplayedColor, CCLayerRGBA.Opacity, CCLayerRGBA.DisplayedOpacity, CCLayerRGBA.IsOpacityModifyRGB, CCLayerRGBA.CascadeColorEnabled, CCLayerRGBA.CascadeOpacityEnabled, CCLayer.m_childClippingMode, CCLayer.Visit(), CCLayer.Init(), CCLayer.AddedToScene(), CCLayer.OnEnter(), CCLayer.OnExit(), CCLayer.OnEnterTransitionDidFinish(), CCLayer.DidAccelerate(CCAcceleration), CCLayer.ChildClippingMode, CCLayer.ContentSize, CCLayer.AccelerometerEnabled, CCNode.kCCNodeTagInvalid, CCNode.m_bIgnoreAnchorPointForPosition, CCNode.m_sTransform, CCNode.m_bInverseDirty, CCNode.m_bRunning, CCNode.m_bTransformDirty, CCNode.m_bVisible, CCNode.m_bReorderChildDirty, CCNode.m_fRotationX, CCNode.m_fRotationY, CCNode.m_fScaleX, CCNode.m_fScaleY, CCNode.m_bWorldTransformIsDirty, CCNode.m_NodeToWorldTransform, CCNode.m_fSkewX, CCNode.m_fSkewY, CCNode.m_fVertexZ, CCNode.m_uOrderOfArrival, CCNode.m_pActionManager, CCNode.m_pCamera, CCNode.m_pChildren, CCNode.m_pChildrenByTag, CCNode.m_pGrid, CCNode.m_pParent, CCNode.m_pScheduler, CCNode.pDispatcher, CCNode.m_pUserData, CCNode.m_obAnchorPoint, CCNode.m_obAnchorPointInPoints, CCNode.m_obContentSize, CCNode.m_obPosition, CCNode._displayedOpacity, CCNode._realOpacity, CCNode._displayedColor, CCNode._realColor, CCNode._cascadeColorEnabled, CCNode._cascadeOpacityEnabled, CCNode.Init(), CCNode.Serialize(Stream), CCNode.Deserialize(Stream), CCNode.ConvertPointTo(ref CCPoint, CCNode), CCNode.GetBoundingBox(CCNode), CCNode.ForceTransformRefresh(), CCNode.Update(float), CCNode.GetPosition(out float, out float), CCNode.SetPosition(float, float), CCNode.ResetCleanState(), CCNode.Cleanup(), CCNode.GetChildByTag(int), CCNode.AddChild(CCNode), CCNode.AddChild(CCNode, int), CCNode.AddChild(CCNode, int, int), CCNode.RemoveFromParent(bool), CCNode.RemoveChild(CCNode, bool), CCNode.RemoveChildByTag(int), CCNode.RemoveChildByTag(int, bool), CCNode.RemoveAllChildrenByTag(int), CCNode.RemoveAllChildrenByTag(int, bool), CCNode.RemoveAllChildren(bool), CCNode.UpdateZOrderRange(), CCNode.ReorderChild(CCNode, int), CCNode.Compare(CCNode, CCNode), CCNode.SortAllChildren(), CCNode.Draw(), CCNode.UpdateGraphIndex(), CCNode.Visit(), CCNode.Visit(ref CCAffineTransform), CCNode.VisitRenderer(ref CCAffineTransform), CCNode.TransformAncestors(), CCNode.SetTransform(CCAffineTransform), CCNode.Transform(), CCNode.UpdateDisplayedColor(CCColor3B), CCNode.UpdateDisplayedOpacity(byte), CCNode.OnEnter(), CCNode.OnEnterTransitionDidFinish(), CCNode.AddedToScene(), CCNode.OnExitTransitionDidStart(), CCNode.OnExit(), CCNode.RunAction(CCAction), CCNode.StopAllActions(), CCNode.StopAction(CCAction), CCNode.StopAction(int), CCNode.GetAction(int), CCNode.NumberOfRunningActions(), CCNode.ScheduleUpdate(), CCNode.ScheduleUpdateWithPriority(int), CCNode.UnscheduleUpdate(), CCNode.Schedule(Action<float>), CCNode.Schedule(Action<float>, float), CCNode.Schedule(Action<float>, float, uint, float), CCNode.ScheduleOnce(Action<float>, float), CCNode.Unschedule(Action<float>), CCNode.UnscheduleAllSelectors(), CCNode.UnscheduleAll(), CCNode.Resume(), CCNode.ResumeSchedulerAndActions(), CCNode.Pause(), CCNode.PauseSchedulerAndActions(), CCNode.NodeToParentTransform(), CCNode.SetTransformIsDirty(), CCNode.SetWorldTransformIsDirty(), CCNode.UpdateTransform(), CCNode.ParentToNodeTransform(), CCNode.NodeToWorldTransform(), CCNode.WorldToNodeTransform(), CCNode.ConvertToNodeSpace(CCPoint), CCNode.ConvertToWorldSpace(CCPoint), CCNode.ConvertToNodeSpaceAr(CCPoint), CCNode.ConvertToWorldSpaceAr(CCPoint), CCNode.ConvertToWindowSpace(CCPoint), CCNode.ConvertTouchToNodeSpace(CCTouch), CCNode.ConvertTouchToNodeSpaceAr(CCTouch), CCNode.RegisterWithTouchDispatcher(), CCNode.TouchesBegan(List<CCTouch>), CCNode.TouchesMoved(List<CCTouch>), CCNode.TouchesEnded(List<CCTouch>), CCNode.TouchesCancelled(List<CCTouch>), CCNode.TouchBegan(CCTouch), CCNode.TouchMoved(CCTouch), CCNode.TouchEnded(CCTouch), CCNode.TouchCancelled(CCTouch), CCNode.KeyBackClicked(), CCNode.KeyMenuClicked(), CCNode.KeyPressed(Keys), CCNode.KeyReleased(Keys), CCNode.KeyboardCurrentState(KeyboardState), CCNode.OnGamePadTriggerUpdate(float, float, PlayerIndex), CCNode.OnGamePadStickUpdate(CCGameStickStatus, CCGameStickStatus, PlayerIndex), CCNode.OnGamePadDPadUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.OnGamePadConnectionUpdate(PlayerIndex, bool), CCNode.OnGamePadButtonUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.Dispose(), CCNode.Dispose(bool), CCNode.CleanUpParentsProperly(), CCNode.Color, CCNode.DisplayedColor, CCNode.Opacity, CCNode.DisplayedOpacity, CCNode.IsOpacityModifyRGB, CCNode.CascadeColorEnabled, CCNode.CascadeOpacityEnabled, CCNode.IsSerializable, CCNode.HasFocus, CCNode.CanReceiveFocus, CCNode.Tag, CCNode.UserData, CCNode.UserObject, CCNode.SkewX, CCNode.SkewY, CCNode.LocalMaxZForChildren, CCNode.LocalMInZForChildren, CCNode.ZOrder, CCNode.VertexZ, CCNode.Rotation, CCNode.RotationX, CCNode.RotationY, CCNode.Scale, CCNode.ScaleX, CCNode.ScaleY, CCNode.Position, CCNode.PositionX, CCNode.PositionY, CCNode.Children, CCNode.ChildrenCount, CCNode.Camera, CCNode.Grid, CCNode.VisibleInParent, CCNode.Visible, CCNode.AnchorPointInPoints, CCNode.AnchorPoint, CCNode.ContentSizeInPixels, CCNode.ScaledContentSize, CCNode.ContentSize, CCNode.IsRunning, CCNode.Parent, CCNode.IgnoreAnchorPointForPosition, CCNode.WorldBoundingBox, CCNode.BoundingBoxTransformedToWorld, CCNode.AffineLocalTransform, CCNode.AffineWorldTransform, CCNode.BoundingBox, CCNode.BoundingBoxInPixels, CCNode.OrderOfArrival, CCNode.AdditionalTransform, CCNode.Name, CCNode.ActionManager, CCNode.Scheduler, CCNode.TouchMode, CCNode.TouchEnabled, CCNode.VisibleForTouches, CCNode.TouchPriority, CCNode.KeypadEnabled, CCNode.KeyboardEnabled, CCNode.KeyboardMode, CCNode.GamePadEnabled, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

creates a CCLayer with color, width and height in Points

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

creates a CCLayer with color. Width and height are the window size.

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

creates a CCLayer with color, width and height in Points

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

creates a CCLayer with color. Width and height are the window size.

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

CCLayerColor()

public CCLayerColor()

CCLayerColor(CCColor4B, float, float)

public CCLayerColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

CCLayerColor(CCColor4B)

public CCLayerColor(CCColor4B color)

Parameters

color CCColor4B

Fields

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_pSquareVertices

protected VertexPositionColor[] m_pSquareVertices

Field Value

VertexPositionColor[]

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

m_tBlendFunc

protected CCBlendFunc m_tBlendFunc

Field Value

CCBlendFunc

Properties

BlendFunc

BlendFunction. Conforms to CCBlendProtocol protocol

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

BlendFunction. Conforms to CCBlendProtocol protocol

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

BlendFunc

public virtual CCBlendFunc BlendFunc { get; set; }

Property Value

CCBlendFunc

Color

Gets or sets the color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

Gets or sets the color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

Color

public override CCColor3B Color { get; set; }

Property Value

CCColor3B

ContentSize

override contentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

override contentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

ContentSize

public override CCSize ContentSize { get; set; }

Property Value

CCSize

Opacity

Gets or sets the Opacity @warning If the the texture has premultiplied alpha then, the R, G and B channels will be modifed. Values goes from 0 to 255, where 255 means fully opaque.

public override byte Opacity { get; set; }

Property Value

byte

Opacity

Gets or sets the Opacity @warning If the the texture has premultiplied alpha then, the R, G and B channels will be modifed. Values goes from 0 to 255, where 255 means fully opaque.

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Opacity

public override byte Opacity { get; set; }

Property Value

byte

Methods

ChangeHeight(float)

change height in Points

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

change height in Points

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeHeight(float)

public void ChangeHeight(float h)

Parameters

h float

ChangeWidth(float)

change width in Points

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

change width in Points

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidth(float)

public void ChangeWidth(float w)

Parameters

w float

ChangeWidthAndHeight(float, float)

change width and height in Points @since v0.8

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

change width and height in Points @since v0.8

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

ChangeWidthAndHeight(float, float)

public void ChangeWidthAndHeight(float w, float h)

Parameters

w float

h float

Draw()

This is called from the Visit() method. This is where you DRAW your node. Only draw stuff from this method call.

public override void Draw()

Draw()

This is called from the Visit() method. This is where you DRAW your node. Only draw stuff from this method call.

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Draw()

public override void Draw()

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

Init()

public override bool Init()

Returns

bool

InitWithColor(CCColor4B)

initializes a CCLayer with color

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

initializes a CCLayer with color, width and height in Points

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

initializes a CCLayer with color

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

initializes a CCLayer with color, width and height in Points

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

InitWithColor(CCColor4B)

public virtual bool InitWithColor(CCColor4B color)

Parameters

color CCColor4B

Returns

bool

InitWithColor(CCColor4B, float, float)

public virtual bool InitWithColor(CCColor4B color, float width, float height)

Parameters

color CCColor4B

width float

height float

Returns

bool

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()

UpdateColor()

protected virtual void UpdateColor()
  • Constructors
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
    • CCLayerColor()
    • CCLayerColor(CCColor4B, float, float)
    • CCLayerColor(CCColor4B)
  • Fields
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_pSquareVertices
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
    • m_tBlendFunc
  • Properties
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • BlendFunc
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • Color
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • ContentSize
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
    • Opacity
  • Methods
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeHeight(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidth(float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • ChangeWidthAndHeight(float, float)
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Draw()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • Init()
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • InitWithColor(CCColor4B)
    • InitWithColor(CCColor4B, float, float)
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()
    • UpdateColor()